public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7307: -pedantic makes errors to warnings
@ 2002-09-14 6:06 Gabriel Dos Reis
0 siblings, 0 replies; 8+ messages in thread
From: Gabriel Dos Reis @ 2002-09-14 6:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/7307; it has been noted by GNATS.
From: Gabriel Dos Reis <gdr@integrable-solutions.net>
To: nathan@gcc.gnu.org
Cc: gcc-bugs@gcc.gnu.org, martin@v.loewis.de, gcc-gnats@gcc.gnu.org
Subject: Re: c++/7307: -pedantic makes errors to warnings
Date: 14 Sep 2002 14:49:56 +0200
nathan@gcc.gnu.org writes:
| Synopsis: -pedantic makes errors to warnings
|
| State-Changed-From-To: open->analyzed
| State-Changed-By: nathan
| State-Changed-When: Sat Sep 14 05:16:33 2002
| State-Changed-Why:
| confirmed
I think this was introduced by a patch by Neil. See also
http://gcc.gnu.org/ml/gcc-bugs/2002-07/msg00495.html
-- Gaby
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: c++/7307: -pedantic makes errors to warnings
@ 2002-11-07 9:26 Wolfgang Bangerth
0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Bangerth @ 2002-11-07 9:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/7307; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: Cc: gcc-gnats@gcc.gnu.org
Subject: Re: c++/7307: -pedantic makes errors to warnings
Date: Thu, 7 Nov 2002 11:26:47 -0600 (CST)
This bug is probably related to 8488.
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: c++/7307: -pedantic makes errors to warnings
@ 2002-11-07 0:06 Neil Booth
0 siblings, 0 replies; 8+ messages in thread
From: Neil Booth @ 2002-11-07 0:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/7307; it has been noted by GNATS.
From: Neil Booth <neil@daikokuya.co.uk>
To: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
Cc: gcc-gnats@gcc.gnu.org, gdr@integrable-solutions.net
Subject: Re: c++/7307: -pedantic makes errors to warnings
Date: Thu, 7 Nov 2002 07:58:01 +0000
Wolfgang Bangerth wrote:-
> in the audit trail of c++/7307, Gaby points you to a patch that made the
> code in the report act in a strange way. What's the state of this?
>
> (I don't think that the patch could have been the culprit, since I see the
> exact same behavior with 2.95, but wanted to ask anyway.)
I have no idea; I didn't think my patch would change such behaviour,
so I'm not surprised you also see it with 2.95.
Neil.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: c++/7307: -pedantic makes errors to warnings
@ 2002-10-31 13:46 Wolfgang Bangerth
0 siblings, 0 replies; 8+ messages in thread
From: Wolfgang Bangerth @ 2002-10-31 13:46 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/7307; it has been noted by GNATS.
From: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
To: neil@daikokuya.co.uk
Cc: gcc-gnats@gcc.gnu.org, <gdr@integrable-solutions.net>
Subject: Re: c++/7307: -pedantic makes errors to warnings
Date: Thu, 31 Oct 2002 15:44:45 -0600 (CST)
Neil,
in the audit trail of c++/7307, Gaby points you to a patch that made the
code in the report act in a strange way. What's the state of this?
(I don't think that the patch could have been the culprit, since I see the
exact same behavior with 2.95, but wanted to ask anyway.)
Regards
Wolfgang
-------------------------------------------------------------------------
Wolfgang Bangerth email: bangerth@ticam.utexas.edu
www: http://www.ticam.utexas.edu/~bangerth
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: c++/7307: -pedantic makes errors to warnings
@ 2002-09-14 14:56 Gabriel Dos Reis
0 siblings, 0 replies; 8+ messages in thread
From: Gabriel Dos Reis @ 2002-09-14 14:56 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/7307; it has been noted by GNATS.
From: Gabriel Dos Reis <gdr@integrable-solutions.net>
To: Neil Booth <neil@daikokuya.co.uk>
Cc: nathan@gcc.gnu.org, gcc-bugs@gcc.gnu.org, martin@v.loewis.de,
gcc-gnats@gcc.gnu.org
Subject: Re: c++/7307: -pedantic makes errors to warnings
Date: 14 Sep 2002 23:42:51 +0200
Neil Booth <neil@daikokuya.co.uk> writes:
| Gabriel Dos Reis wrote:-
|
| > nathan@gcc.gnu.org writes:
| >
| > | Synopsis: -pedantic makes errors to warnings
| > |
| > | State-Changed-From-To: open->analyzed
| > | State-Changed-By: nathan
| > | State-Changed-When: Sat Sep 14 05:16:33 2002
| > | State-Changed-Why:
| > | confirmed
| >
| > I think this was introduced by a patch by Neil. See also
| >
| > http://gcc.gnu.org/ml/gcc-bugs/2002-07/msg00495.html
|
| Which might that be?
2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk>
* cp-tree.h (init_reswords, cxx_init_decl_processing): New.
(cxx_init): Update prototype.
* decl.c (init_decl_processing): Rename. Move null node init
to its creation time.
* lex.c (cxx_init_options): Update.
(cxx_init): Combine with old init_parse; also call
cxx_init_decl_processing.
-- Gaby
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: c++/7307: -pedantic makes errors to warnings
@ 2002-09-14 13:36 Neil Booth
0 siblings, 0 replies; 8+ messages in thread
From: Neil Booth @ 2002-09-14 13:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/7307; it has been noted by GNATS.
From: Neil Booth <neil@daikokuya.co.uk>
To: Gabriel Dos Reis <gdr@integrable-solutions.net>
Cc: nathan@gcc.gnu.org, gcc-bugs@gcc.gnu.org, martin@v.loewis.de,
gcc-gnats@gcc.gnu.org
Subject: Re: c++/7307: -pedantic makes errors to warnings
Date: Sat, 14 Sep 2002 21:31:37 +0100
Gabriel Dos Reis wrote:-
> nathan@gcc.gnu.org writes:
>
> | Synopsis: -pedantic makes errors to warnings
> |
> | State-Changed-From-To: open->analyzed
> | State-Changed-By: nathan
> | State-Changed-When: Sat Sep 14 05:16:33 2002
> | State-Changed-Why:
> | confirmed
>
> I think this was introduced by a patch by Neil. See also
>
> http://gcc.gnu.org/ml/gcc-bugs/2002-07/msg00495.html
Which might that be?
Neil.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: c++/7307: -pedantic makes errors to warnings
@ 2002-09-14 5:16 nathan
0 siblings, 0 replies; 8+ messages in thread
From: nathan @ 2002-09-14 5:16 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, martin, nobody
Synopsis: -pedantic makes errors to warnings
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Sat Sep 14 05:16:33 2002
State-Changed-Why:
confirmed
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7307
^ permalink raw reply [flat|nested] 8+ messages in thread
* c++/7307: -pedantic makes errors to warnings
@ 2002-07-14 8:56 Martin v. Loewis
0 siblings, 0 replies; 8+ messages in thread
From: Martin v. Loewis @ 2002-07-14 8:56 UTC (permalink / raw)
To: gcc-gnats
>Number: 7307
>Category: c++
>Synopsis: -pedantic makes errors to warnings
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: accepts-illegal
>Submitter-Id: net
>Arrival-Date: Sun Jul 14 08:56:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Martin v. Loewis
>Release: 3.2 20020714 (experimental)
>Organization:
HUB
>Environment:
System: Linux mira 2.4.18-4GB #1 Wed Mar 27 13:57:05 UTC 2002 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /usr/src/egcs/configure --prefix=/usr/local/newabi --enable-shared --enable-threads --enable-languages=c,c++,java : (reconfigured) : (reconfigured) /usr/src/egcs/configure --prefix=/usr/local/newabi --enable-shared --enable-threads --enable-languages=c,c++,java
>Description:
-pedantic changes the status of " field `char test::test' with same name as class"
from error to warning, thus accepting the code under -pedantic, even though it is
ill-formed.
>How-To-Repeat:
Compile the fragment
struct test
{
char test;
test();
};
with and without -pedantic:
martin@mira:~/tmp> /usr/local/newabi/bin/g++ -S a.cc
a.cc:3: error: field `char test::test' with same name as class
martin@mira:~/tmp> /usr/local/newabi/bin/g++ -pedantic -S a.cc
a.cc:3: warning: field `char test::test' with same name as class
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2002-11-07 17:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-14 6:06 c++/7307: -pedantic makes errors to warnings Gabriel Dos Reis
-- strict thread matches above, loose matches on Subject: below --
2002-11-07 9:26 Wolfgang Bangerth
2002-11-07 0:06 Neil Booth
2002-10-31 13:46 Wolfgang Bangerth
2002-09-14 14:56 Gabriel Dos Reis
2002-09-14 13:36 Neil Booth
2002-09-14 5:16 nathan
2002-07-14 8:56 Martin v. Loewis
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).