Boost logo

Boost :

From: Brad King (brad.king_at_[hidden])
Date: 2006-01-09 14:07:08

John Maddock wrote:
>Brad King wrote:
>>I should add more definitions like
>>so that the true GCC parser version is known.
> Sure, it's your tool you can call them anything you want :-)

Okay, I've added these definitions to GCC-XML. It will be up to pyste
to define them properly when invoking an older GCC-XML version that does
not have this feature.

Below is a clip from the GCC-XML man page after these changes that
describes the definitions provided beyond the simulated compiler.
Please update gcc_xml.hpp to use these definitions to switch among GCC
parser versions.


The following extra C preprocessor definitions are provided:

     MM, mm, and pp are the major, minor, and patch versions of GCC-XML.
     This preprocessor symbol identifies GCC-XML to the source code as it
     is preprocessed. It can be used to enable GCC-XML-specific

     Defined to internal GCC parser major version.

     Defined to internal GCC parser minor version.

     Defined to internal GCC parser patchlevel.

Boost list run by bdawes at, gregod at, cpdaniel at, john at