Hello thrift users,

It's been a while I didn't touched my project which use thrift.
After updating, either using svn or 0.8.0, with gcc-4.5.3, got the following 
when trying to build my project:

*** omake: changing directory to /Users/philou/mysrc
*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.64 sec)
- build jack_preamp rc_types.o
+ /opt/gnucc/bin/g++ -Wall -DHAVE_NETINET_IN_H -DHAVE_INTTYPES_H -DDEBUG -O3 
-march=core2 -mssse3 -I/usr/local/include -I/opt/local/include 
-I/opt/misc/include -I/opt/local/include/glib-2.0 
-I/opt/local/lib/glib-2.0/include -I/opt/local/include 
-I/opt/misc/include/thrift -I/opt/av/include -I/opt/num/include -I../common.c 
-I../jackc -I../config -I../sigpath -c -o rc_types.o rc_types.cpp
In file included from rc_types.h:11:0,
                 from rc_types.cpp:7:
/opt/misc/include/thrift/TApplicationException.h:32:49: erreur: expected 
class-name before ‘{’ token
/opt/misc/include/thrift/TApplicationException.h:57:31: erreur: ‘string’ in 
namespace ‘std’ does not name a type
/opt/misc/include/thrift/TApplicationException.h:57:44: erreur: ISO C++ forbids 
declaration of ‘message’ with no type [-fpermissive]
/opt/misc/include/thrift/TApplicationException.h:62:31: erreur: ‘string’ in 
namespace ‘std’ does not name a type
/opt/misc/include/thrift/TApplicationException.h:62:44: erreur: ISO C++ forbids 
declaration of ‘message’ with no type [-fpermissive]
/opt/misc/include/thrift/TApplicationException.h:94:3: erreur: ‘uint32_t’ does 
not name a type
/opt/misc/include/thrift/TApplicationException.h:95:3: erreur: ‘uint32_t’ does 
not name a type
/opt/misc/include/thrift/TApplicationException.h: In constructor 
‘apache::thrift::TApplicationException::TApplicationException()’:
/opt/misc/include/thrift/TApplicationException.h:50:5: erreur: class 
‘apache::thrift::TApplicationException’ does not have any field named 
‘TException’

TApplicationException.h:32:49: erreur: expected class-name before ‘{’ token

must be tired and missing something (don't know much C++).

Thanks


--
Philippe Strauss
http://www.philou.ch/




Reply via email to