On Thu, Mar 27, 2008 at 4:54 PM, Francesco Montorsi <[EMAIL PROTECTED]> wrote: > Brad King ha scritto: > > > Francesco Montorsi wrote: > >> Specifically, for what I'm developing I need to know only #defined > >> values, not #defined macros. So I guess I'll grep the sources for > >> "#define" and then parse the results... > > > > In that case, try running > > > > gccxml -E -dM input.cxx > thanks! that's much better than grepping ;)
If all you need is to work with defines, than I suggest Boost.Wave http://www.boost.org/libs/wave/doc/preface.html I think this is the tool you need -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ _______________________________________________ gccxml mailing list [email protected] http://www.gccxml.org/mailman/listinfo/gccxml
