Hi, I'm currently trying to run gccxml against a code which has the following defines (pseudo-code)
# if COMPILER IS GCC AND GCC VERSION > 4.3.0# define HashMap ::std::tr1::unordered_map# define HashSet ::std::tr1::unordered_set# else# define HashMap ::__gnu_cxx::hash_map# define HashSet ::__gnu_cxx::hash_set# endif I've read that GCCXML doesn't support ::std::tr1::unordered_map, but in this case it's not a problem, since there's a fallback to ::__gnu_cxx::hash_map The issue is that GCCXML fails to parse this header, because the gcc version defined is too high, so it tries to use std::tr1. Of course, I can hack this code to force it to use ::__gnu_cxx::hash_map, but I'd rather find a cleaner way to do this. Is there a command line switch to force __GNUC__ and __GNUC_MINOR__ ? Thanks, Mike
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.gccxml.org/mailman/listinfo/gccxml