
9 Jan
2006
9 Jan
'06
6:31 p.m.
GCC-XML defines __GCCXML__ with its *own* version number, not that of the internal GCC parser.
Oh, shucks :-(
There is a simple mapping from GCC-XML version number to the GCC parser version number (currently always 3.3). However I can see that it would be a pain for every project to know about this mapping. I should add more definitions like
__GCCXML_GNUC__ __GCCXML_GNUC_MINOR__ __GCCXML_GNUC_PATCHLEVEL__
so that the true GCC parser version is known. This also maintains the option to replace the parser with another compiler in the future. Do these names look okay to you John?
Sure, it's your tool you can call them anything you want :-) John.