Re: duplicated __classid decls.



hi there,

here's my info on gcc & cpp:

[root@g4edgar]/usr/ports/pango> gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1161, based on gcc version 3.1 20020420 
(prerelease)

[root@g4edgar]/usr/ports/pango> cpp -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1161, based on gcc version 3.1 20020420 
(prerelease)
/usr/libexec/gcc/darwin/ppc/3.1/tradcpp0 -lang-c -v -I/usr/include -$ 
-iprefix /usr/libexec/gcc/darwin/ppc/default/../libexec/gcc/darwin/ppc/3.1/ 
-D__ppc__ -D__POWERPC__ -D__NATURAL_ALIGNMENT__ -D__MACH__ -D__BIG_ENDIAN__ 
-D__APPLE__ -D__ppc__ -D__POWERPC__ -D__NATURAL_ALIGNMENT__ -D__MACH__ 
-D__BIG_ENDIAN__ -D__APPLE__ -D__NO_INLINE__ -D__STDC_HOSTED__=1 
-D__DYNAMIC__ -D__GNUC__ -
GNU traditional CPP version 3.1 20020420 (prerelease)

both are the latest DEVELOPER releases available from Apple.

fyi, i've built both libIDL & ORBit2 with CFLAGS set = "-no-cpp-precomp"

cheers,

richard


--On Friday, December 13, 2002 10:31 AM +0000 Michael Meeks 
<michael@ximian.com> wrote:

> Hi guys,
>
> 	So I had a poke at your bugs; and I think the problem lies in the
> pre-processor you're using. ORBit2's libIDL rather relies on the
> pre-processor not mangling various directives, and my suspicion is that
> yours is somehow.
>
> 	ie. in iop-defs.idl we have:
>
># pragma inhibit push
># include "corba-defs.idl"
># pragma inhibit pop
>
> 	Which means that only the types should be compiled against for this idl
> file, but no code emitted for them.
>
> 	I think that's somehow getting garbled in your compiles.
>
> 	So - what versions of gcc (and cpp) are you running ?
>
> [michael@michael MT-ORBit2]$ cpp --version
> cpp (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)
>
> 	seems to work fine.
>
> 	Hmm,
>
> 		Michael.
>
> --
>  mmeeks@gnu.org  <><, Pseudo Engineer, itinerant idiot
>
> _______________________________________________
> orbit-list mailing list
> orbit-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/orbit-list




--------------------------------------
R Blake
blakers <at> mac <dot> com
http://www.presence-group.com/opensource_osx
--------------------------------------
MacOSX ..... because Windows sux.
--------------------------------------



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]