Ticket #792 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

GCC 4.6 build problem

Reported by: blazt Owned by: jurezb
Milestone: Future Component: other
Severity: minor Keywords:
Cc: Blocking:
Blocked By:

Description

Pri prevajanju z GCC 4.6 se ne prevedeta 2 generirani C++ daoteki. Problem je v funkciji offsetof, ki potrebuje #include <cstddef> ali #include <stddef.h>.

Zraven prilagam patch generiran z diff po katerem se orange-source-snapshot-20110506 prevede. Patcha popravita datoteki:

-source/pyxtract/pyprops.py
-source/pyxtract/pyxtract.py

Za starejše verzije GCC nisem testiral.

Attachments

pyprops.py.patch Download (156 bytes) - added by blazt 3 years ago.
pyxtract.py.patch Download (61 bytes) - added by blazt 3 years ago.

Change History

Changed 3 years ago by blazt

Changed 3 years ago by blazt

comment:1 Changed 3 years ago by marko

  • Status changed from new to assigned
  • Owner set to jurezb

Jure, does it work for you? Please look into this.

comment:2 Changed 3 years ago by jurezb

  • Status changed from assigned to closed
  • Resolution set to fixed

After applying the two patches the build works with gcc 4.6, gcc 4.5.2 and VS2010.

I also removed the implementation of offsetof in orange/root.hpp.

Note: See TracTickets for help on using tickets.