This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [V3 PATCH] Fix for defect report libstdc++/1897


bumgard@roguewave.com writes:

| This patch simply eliminates a warning for those of use who
| compile with -pedantic -Wall and -Werror.
| 
| 
| 2001-02-13  Greg Bumgardner <bumgard@roguewave.com>

[...]

| 	* libstdc++-v3/include/bits/ostream.tcc: Add __extension__ 
| 	to variable-length arrays.  

The right fix is to say `#pragma GCC system_header' at the top of the
file.  It is missing anyway. 

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]