Bug 56069 - doesn't build with gcc 3.1-0.7
Summary: doesn't build with gcc 3.1-0.7
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: ORBit2
Version: 1.0
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Mark McLoughlin
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-11-12 13:50 UTC by Bernhard Rosenkraenzer
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-01-18 19:40:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Bernhard Rosenkraenzer 2001-11-12 13:50:44 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I. -I. -I../../../include 
-I../../../include -I../../../include/orbit/orb-core 
-DORBIT_TYPELIB_DIR=\"/usr/lib/orbit\" -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include -O2 -march=i386 -mcpu=i686 -c 
corba-typecode.c  -fPIC -DPIC -o .libs/corba-typecode.lo
cc1: warning: changing search order for system directory "/usr/include"
cc1: warning:   as it has already been specified as a non-system directory
corba-typecode.c:142: conflicting types for `TC_null_struct'
../../../include/orbit/orb-core/corba-typecode.h:51: previous declaration 
of `TC_null_struct'
corba-typecode.c:149: conflicting types for `TC_void_struct'
../../../include/orbit/orb-core/corba-typecode.h:52: previous declaration 
of `TC_void_struct'
[...]

It's a 

struct CORBA_TypeCode_struct

vs.

extern const struct CORBA_TypeCode_struct

issue (non-matching declarations). Older compilers just happened not to 
barf on it.

Also, the fact that it uses "-I/usr/include" leads to numerous compiler 
warnings.

Comment 1 Havoc Pennington 2002-02-11 20:40:43 UTC
It seems to be building now. The /usr/include stuff is filed separately (against
all the -config scripts)


Note You need to log in before you can comment on or make changes to this bug.