From: Chris C. <che...@cl...> - 2003-07-11 11:06:09
|
Dear all, I tried using opencxx-snapshot-HEAD-2003-03-25 with g++ 3.2 compiler g++-3.2 (GCC) 3.2 (Mandrake Linux 9.0 3.2-1mdk) and follows the tutorial on VerboseClass. 1) The OpenC++ compiler gets problem in parsing some g++-3.2 include files: [sample]$ ../src/occ -m -c -I../src -I../gc -- -g VerboseClass.mc MOP warning: The hash table is full. Expanded... /usr/include/c++/3.2/bits/stl_alloc.h:392: parse error before `= *' /usr/include/c++/3.2/bits/stl_alloc.h:401: parse error before `__ret ;' /usr/include/c++/3.2/bits/stl_construct.h:67: parse error before `namespace std' /usr/include/c++/3.2/bits/stl_construct.h:86: parse error before `template <' /usr/include/c++/3.2/bits/stl_construct.h:98: parse error before `template <' /usr/include/c++/3.2/bits/stl_construct.h:101: parse error before `__last ;' /usr/include/c++/3.2/bits/stl_construct.h:101: parse error before `__first )' /usr/include/c++/3.2/bits/stl_construct.h:112: parse error before `template <' /usr/include/c++/3.2/bits/stl_construct.h:134: parse error before `template <' /usr/include/c++/3.2/bits/stl_construct.h:145: parse error before `} namespace' 10 Error(s). OpenC++ stops. 2) If I try skipping preprocessing, VerboseClass-init.so cannot be generated: [sample]$ ../src/occ -n -P -m -c -I../src -I../gc -- -I../src -I../gc -g VerboseClass.mc VerboseClass.so is outputted but VerboseClass-init.so is absent. Is there any solution or workaround? Thank you very much. -- Best Regards, Chris Cheung Center for Large-Scale Computation Have a nice day! |