public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* RE: c++/9891: #error does not expand macros
@ 2003-03-01  0:06 Stephen Murrell
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Murrell @ 2003-03-01  0:06 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/9891; it has been noted by GNATS.

From: "Stephen Murrell" <stephen@rabbit.eng.miami.edu>
To: <neil@gcc.gnu.org>, <gcc-bugs@gcc.gnu.org>, <gcc-prs@gcc.gnu.org>,
   <nobody@gcc.gnu.org>, <stephen@rabbit.eng.miami.edu>,
   <gcc-gnats@gcc.gnu.org>
Cc:  
Subject: RE: c++/9891: #error does not expand macros
Date: Fri, 28 Feb 2003 18:58:40 -0500

 How annoying.
 
 I'd been relying on the standard "C a reference manual"
 rather than IOS/IEC 9899, which I try to avoid reading
 at all costs. Didn't realise that rule got changed when
 the standard was adopted.
 
 
 
 -----Original Message-----
 From: neil@gcc.gnu.org [mailto:neil@gcc.gnu.org] 
 Sent: Friday, 28 February, 2003 18:41
 To: gcc-bugs@gcc.gnu.org; gcc-prs@gcc.gnu.org; nobody@gcc.gnu.org;
 stephen@rabbit.eng.miami.edu
 Subject: Re: c++/9891: #error does not expand macros
 
 
 Synopsis: #error does not expand macros
 
 State-Changed-From-To: open->closed
 State-Changed-By: neil
 State-Changed-When: Fri Feb 28 23:40:36 2003
 State-Changed-Why:
     Not a bug.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=g
 cc&pr=9891
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/9891: #error does not expand macros
@ 2003-03-01  0:16 Neil Booth
  0 siblings, 0 replies; 4+ messages in thread
From: Neil Booth @ 2003-03-01  0:16 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/9891; it has been noted by GNATS.

From: Neil Booth <neil@daikokuya.co.uk>
To: Stephen Murrell <stephen@rabbit.eng.miami.edu>
Cc: neil@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
	nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: c++/9891: #error does not expand macros
Date: Sat, 1 Mar 2003 00:08:20 +0000

 Stephen Murrell wrote:-
 
 > 
 > 
 > How annoying.
 > 
 > I'd been relying on the standard "C a reference manual"
 > rather than IOS/IEC 9899, which I try to avoid reading
 > at all costs. Didn't realise that rule got changed when
 > the standard was adopted.
 
 C has never done that, not even when Dennis created it.
 
 Neil.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: c++/9891: #error does not expand macros
@ 2003-02-28 23:40 neil
  0 siblings, 0 replies; 4+ messages in thread
From: neil @ 2003-02-28 23:40 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, stephen

Synopsis: #error does not expand macros

State-Changed-From-To: open->closed
State-Changed-By: neil
State-Changed-When: Fri Feb 28 23:40:36 2003
State-Changed-Why:
    Not a bug.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9891


^ permalink raw reply	[flat|nested] 4+ messages in thread

* c++/9891: #error does not expand macros
@ 2003-02-28 21:26 stephen
  0 siblings, 0 replies; 4+ messages in thread
From: stephen @ 2003-02-28 21:26 UTC (permalink / raw)
  To: gcc-gnats


>Number:         9891
>Category:       c++
>Synopsis:       #error does not expand macros
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 28 21:26:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     GCC
>Release:        gcc version 2.95.4 20020320 [FreeBSD]
>Organization:
>Environment:
freeBSD 4.7-RELEASE
>Description:
#error does not expand macros. This program

 > #include <stdio.h>
 > 
 > #define ABCD the cat sat on the mat
 > 
 > #error ABCD
 > 
 > void main(void)
 > { }

produces

 > x.cpp:5: #error ABCD

instead of

 > x.cpp:5: #error the cat sat on the mat
>How-To-Repeat:
CC compile that program. No special options,
gcc with standard install
>Fix:
no idea.
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-03-01  0:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-01  0:06 c++/9891: #error does not expand macros Stephen Murrell
  -- strict thread matches above, loose matches on Subject: below --
2003-03-01  0:16 Neil Booth
2003-02-28 23:40 neil
2003-02-28 21:26 stephen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).