This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [BUG] pragma: attempt to use poisoned * in struct member
>>>>> "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