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

2008-11-11 Thread Jiri Slaby
On 11/11/2008 02:00 AM, Tom Tromey wrote: >> "Jiri" == Jiri Slaby <[EMAIL PROTECTED]> 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 librar

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

2008-11-10 Thread Tom Tromey
> "Jiri" == Jiri Slaby <[EMAIL PROTECTED]> 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: [

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

2008-11-08 Thread Jiri Slaby
On 11/08/2008 04:46 PM, Tom Tromey wrote: >> "Jiri" == Jiri Slaby <[EMAIL PROTECTED]> writes: > > Jiri> while compiling slightly augmented cc1, I've found a poison > Jiri> pragma bug. Here comes a trimmed example of the bug: > > Jiri> $ echo -e '#pragma GCC poison malloc\nstruct { int malloc;

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

2008-11-08 Thread Tom Tromey
> "Jiri" == Jiri Slaby <[EMAIL PROTECTED]> writes: Jiri> while compiling slightly augmented cc1, I've found a poison Jiri> pragma bug. Here comes a trimmed example of the bug: Jiri> $ echo -e '#pragma GCC poison malloc\nstruct { int malloc; };'|gcc - -E -o/dev/null Jiri> :2:14: error: attemp

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

2008-11-08 Thread Jiri Slaby
Hi, while compiling slightly augmented cc1, I've found a poison pragma bug. Here comes a trimmed example of the bug: $ echo -e '#pragma GCC poison malloc\nstruct { int malloc; };'|gcc - -E -o/dev/null :2:14: error: attempt to use poisoned "malloc"