(lib)C++: vars shadowing globals

Mark Mitchell mark@codesourcery.com
Fri Dec 31 16:38:00 GMT 1999


>>>>> "Martin" == Martin v Loewis <martin@loewis.home.cs.tu-berlin.de> writes:

    Martin> http://gcc.gnu.org/ml/gcc-patches/1999-11/msg00660.html

    Martin> 1999-12-14 Martin v. Löwis
    Martin> <loewis@informatik.hu-berlin.de>

    Martin> 	* strstream.h (strstreambuf::streambuf): Rename
    Martin> parameters to avoid shadow warning.  * stream.h (WS):
    Martin> Likewise.

    Martin> 1999-12-14 Martin v. Löwis
    Martin> <loewis@informatik.hu-berlin.de>

    Martin> 	* std/bastring.h (basic_string::basic_string): Rename
    Martin> parameters to avoid shadow warnings.  * std/bastring.cc
    Martin> (alloc): Likewise.

These are fine.  I don't know enough about libio to approve the other
patch; perhaps Ulrich could help?

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc-patches mailing list