Re: [Orbit-python-list] orbit-python compile ?'s
Status: Inactive
Brought to you by:
tack
From: Phil d. <ph...@us...> - 2000-03-17 13:29:45
|
Brad Chapman wrote: > > Hey all; > I was starting to play around with orbit-python (the most recent > 0.1.2 release) last night and ran into some compile problems in idl.cc > > g++295 -DPACKAGE=\"orbit-python\" -DVERSION=\"0.1.2\" -I. -I. > -I/usr/local/include/python1.5 -I/usr/local/include/python1.5 -fpic -O > -pipe -D_THREAD_SAFE -I/usr/local/include/glib12 -I/usr/local/include > > -g -O2 -c idl.cc > idl.cc: In function `struct CORBA_TypeCode_struct * > get_exception_typecode(_IDL_tree_node *)': > idl.cc:788: assignment to `char **' from `const gchar **' discards > qualifiers > idl.cc: In function `struct CORBA_TypeCode_struct * > get_struct_typecode(_IDL_tree_node *)': > idl.cc:853: assignment to `char **' from `const gchar **' discards > qualifiers > idl.cc: In function `struct CORBA_TypeCode_struct * > get_enum_typecode(_IDL_tree_node *)': > idl.cc:918: assignment to `char **' from `const gchar **' discards > qualifiers > idl.cc: In function `struct CORBA_TypeCode_struct * > get_union_typecode(_IDL_tree_node *)': > idl.cc:978: assignment to `char **' from `const gchar **' discards > qualifiers > gmake[1]: *** [idl.o] Error 1 > gmake[1]: Leaving directory `/usr/home/chapmanb/orbit-python-0.1.2/src' > gmake: *** [all-recursive] Error 1 > > I'm working on FreeBSD 3.3, and compiling with: > $ g++295 -v > gcc version 2.95.2 19991024 (release) > I think I might know what the problem is: In the move from version ORBit-0.5.0 to ORBit-0.5.1 a lot of the char*s were turned to const char*s. Check that it isn't picking up a corba_typecode.h from a version of ORBit earlier than 0.5.1. Hope this helps, Phil. |