c++/7307: -pedantic makes errors to warnings

Gabriel Dos Reis gdr@integrable-solutions.net
Sat Sep 14 14:50:00 GMT 2002


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



More information about the Gcc-bugs mailing list