[BUG] pragma: attempt to use poisoned * in struct member

Tom Tromey tromey@redhat.com
Tue Nov 11 01:02:00 GMT 2008


>>>>> "Jiri" == Jiri Slaby <jirislaby@gmail.com> writes:

Jiri> I want to extend cpp to extract some more info (for backward
Jiri> mapping from preprocessed_code into source_code+line+column)
Jiri> into xml while preprocessing and I use gdome2 library. If I try
Jiri> to compile it, it fails due to: [...]

I would suggest just dropping the #pragma poison from your gcc.

Or, I guess you could use a different XML library.

Jiri> At least some option to disable these pragma checks inside cpp
Jiri> would be great.  (I suppose there is none, I found it neither in
Jiri> gcc.info nor cpp.info nor anywhere else...)

There isn't one.

Tom



More information about the Gcc mailing list