Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Oliver Schneider
RE: Can't compile c++ program using rice [ reply ]  
2008-11-02 11:16
sorry, a Library I'm using is using a Library that has a #define True and a #define False somewhere, I didn't think about that :/

this can be ignored

By: Oliver Schneider
Can't compile c++ program using rice [ reply ]  
2008-11-02 10:43
I get an error when I only include rice/Object.hpp
it's about the definition of Rice::True and Rice::False

/usr/local/include/rice/Object_defn.hpp:176: error: expected unqualified-id before numeric constant
/usr/local/include/rice/Object_defn.hpp:177: error: expected unqualified-id before numeric constant

this would probably mean True and False are interpreted as integers by the parser, which does not happen on rice compilation, but obviously only when compiling another program using rice.

Just wondering if anyone has met this problem before, googling on similar bugs does not turn up anything useful