Building error with gmessages.h on Gnome 2/S9.



Hi all,
I'm now using Sun Forte 6U1 on S9 with Gnome 2 installed to build
a gnome application. The application builds ok using gcc-3.2.
But when I use Forte 6U1 CC to build it, it fails for compiling 
gmessage.h:

~/>which CC
.../SC6.1-s10/WS6U1/bin/CC
~/CC testapp.cpp -o testapp -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/orbit-2.0 -I/usr/include/libxml2 -I/usr/include/linc-1.0
-I/usr/include/gconf/2 -DG_DISABLE_DEPRECATED
-DMODULES_PATH=/usr/local/lib/vfs/modules ...
-lxml2 -lz -lgconf-2 -lORBit-2 -lm -llinc -lgmodule-2.0 -ldl -lgobject-2.0
-lgthread-2.0 -lpthread -lglib-2.0 -lpopt -lrt ...

"/usr/include/glib-2.0/glib/gmessages.h", line 113: Error: Identifier list
expected instead of "...".
"/usr/include/glib-2.0/glib/gmessages.h", line 116: Error: Identifier list
expected instead of "...".
"/usr/include/glib-2.0/glib/gmessages.h", line 119: Error: Identifier list
expected instead of "...".
"/usr/include/glib-2.0/glib/gmessages.h", line 122: Error: Identifier list
expected instead of "...".

Since gmessages.h is a basic gnome header, did anybody see the problem before?
I didn't install any Forte 6U1 CC patches. Seems that it's a problem with Forte
6U1
CC itself. Is there any patches available ? Could you give any comments for
investigation ?

Thanks.
George Z.





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