NO CLUE (ORBit compile errors)





I can not figure out what causes ORBit compile to fail. What that
suppose to mean? :

...
 make[3]: Entering directory `/usr/local/src/gnomecvs/ORBit/src/idl-compiler'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I../.. -I../../src -I/opt/gnome/lib/glib/include -I/opt/gnome/include  -g -O2 -c orbit-c-header.c
In file included from orbit-c-backend.h:15,
                 from orbit-c-header.c:1:
../../libIDL/IDL.h:148: parse error before `wchar_t'
../../libIDL/IDL.h:148: warning: no semicolon at end of struct or union
../../libIDL/IDL.h:151: parse error before `*'
../../libIDL/IDL.h:160: parse error before `wchar_t'
../../libIDL/IDL.h:160: warning: no semicolon at end of struct or union
../../libIDL/IDL.h:163: parse error before `*'
../../libIDL/IDL.h:531: field `idl_wide_string' has incomplete type
../../libIDL/IDL.h:533: field `idl_wide_char' has incomplete type
make[3]: *** [orbit-c-header.o] Error 1
...

Does it mean that wchar_t is not properly defined?
orbit-c-backend.h supposedly  include stddef.h, wchar.h and glib.h before
libIDL/IDL.h

Lines in question (in IDL.h) are:
 
   147  struct _IDL_WIDE_STRING {
   148          wchar_t *value;
   149  };
   150  #define IDL_WIDE_STRING(a)              IDL_CHECK_CAST(a, IDLN_WIDE_STRING, idl_wide_string)
   151  extern IDL_tree         IDL_wide_string_new             (wchar_t *value);
   ...

   159  struct _IDL_WIDE_CHAR {
   160          wchar_t *value;
   161  };
   162  #define IDL_WIDE_CHAR(a)                IDL_CHECK_CAST(a, IDLN_WIDE_CHAR, idl_wide_char)
   163  extern IDL_tree         IDL_wide_char_new               (wchar_t *value);
   ...





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