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

Gabriel Dos Reis gdr@codesourcery.com
Fri Feb 16 11:41:00 GMT 2001

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

More information about the Libstdc++ mailing list