Bug#157416: marked as done ([fixed in 3.3] cpp: _Pragma within macros is improperly expanded)

2002-12-03 Thread Debian Bug Tracking System
ue, 20 Aug 2002 17:32:19 +0100 Date: Tue, 20 Aug 2002 17:32:19 +0100 From: Andrew Suffield <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: cpp-3.2: _Pragma within macros is improperly expanded Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Con

Bug#157416: preprocessor/8524: _Pragma within macros is improperly expanded

2002-11-18 Thread neil
Synopsis: _Pragma within macros is improperly expanded State-Changed-From-To: open->closed State-Changed-By: neil State-Changed-When: Mon Nov 18 12:51:59 2002 State-Changed-Why: Fixed, I hope. Applied in 3.3, will soon apply in 3.2.2. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20au

Re: preprocessor/8524: _Pragma within macros is improperly expanded

2002-11-18 Thread Neil Booth
Neil Booth wrote:- > I think this fixes it for good. I'm applying this to 3.3, and 3.2.2 > when it arrives. > > Neil. > > PR preprocessor/8524 > * cpplib.c (run_directive): Remove previous kludge to _Pragma. > Add a new one in its place, which hopefully works. > (skip_re

Re: preprocessor/8524: _Pragma within macros is improperly expanded

2002-11-18 Thread Neil Booth
I think this fixes it for good. I'm applying this to 3.3, and 3.2.2 when it arrives. Neil. PR preprocessor/8524 * cpplib.c (run_directive): Remove previous kludge to _Pragma. Add a new one in its place, which hopefully works. (skip_rest_of_line): Change test for b

Bug#157416: preprocessor/8524: _Pragma within macros is improperly expanded

2002-11-17 Thread neil
Synopsis: _Pragma within macros is improperly expanded State-Changed-From-To: analyzed->open State-Changed-By: neil State-Changed-When: Sun Nov 17 14:07:28 2002 State-Changed-Why: Patch in progress. Let's nail this for good. Other than a rewrite the only possible fix is a kludge,

Bug#157416: preprocessor/8524: _Pragma within macros is improperly expanded

2002-11-11 Thread neil
Synopsis: _Pragma within macros is improperly expanded Responsible-Changed-From-To: unassigned->neil Responsible-Changed-By: neil Responsible-Changed-When: Sun Nov 10 22:44:07 2002 Responsible-Changed-Why: Mine. State-Changed-From-To: open->analyzed State-Changed-By: neil State-Change

Bug#157416: preprocessor/8524: _Pragma within macros is improperly expanded

2002-11-11 Thread gcc-gnats
Thank you very much for your problem report. It has the internal identification `preprocessor/8524'. The individual assigned to look at your report is: unassigned. >Category: preprocessor >Responsible:unassigned >Synopsis: _Pragma within macros is improperly exp

_Pragma within macros is improperly expanded

2002-11-11 Thread Matthias Klose
>Submitter-Id: net >Originator:Matthias Klose >Organization: >Confidential: no >Synopsis: _Pragma within macros is improperly expanded >Severity: serious >Priority: medium >Category: preprocessor >Class: sw-bug >Release:

Bug#157416: cpp-3.2: _Pragma within macros is improperly expanded

2002-11-10 Thread Andrew Suffield
reopen 157416 thanks Nope, still not right. Here's a new case where it breaks: == [EMAIL PROTECTED]:~/tmp$ cat foo.c #define ALPHA(A) alpha_ ## A #define BETA(B) beta_ ## B #define GAMMA(C) _Pragma("moose") ALPHA(C) BETA(C) GAMMA(baz); [EMAIL PROTECTED]:~/tmp$ cpp-3.2 foo.c # 1 "foo.c" # 1 "" # 1

Processed: Re: cpp-3.2: _Pragma within macros is improperly expanded

2002-11-10 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]: > reopen 157416 Bug#157416: [fixed in 3.3] cpp: _Pragma within macros is improperly expanded Bug reopened, originator not changed. > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system adminis

Bug#157416: marked as done ([fixed in 3.3] cpp: _Pragma within macros is improperly expanded)

2002-10-20 Thread Debian Bug Tracking System
ue, 20 Aug 2002 17:32:19 +0100 Date: Tue, 20 Aug 2002 17:32:19 +0100 From: Andrew Suffield <[EMAIL PROTECTED]> To: Debian Bug Tracking System <[EMAIL PROTECTED]> Subject: cpp-3.2: _Pragma within macros is improperly expanded Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Con

Bug#157416: cpp-3.2: _Pragma within macros is improperly expanded

2002-08-20 Thread Andrew Suffield
Package: cpp-3.2 Version: 1:3.2-0pre4 Severity: important [EMAIL PROTECTED]:~$ cat foo.c _Pragma("foo"); int y; #define FOO _Pragma("foo"); int x; FOO [EMAIL PROTECTED]:~$ cpp-3.2 foo.c # 1 "foo.c" # 1 "" # 1 "" # 1 "foo.c" # 1 "foo.c" #pragma foo # 1 "foo.c" ; int y; # 3 "foo.c"