[libstdc++] Document and guard stdio_filebuf.h

Mark Mitchell mark@codesourcery.com
Tue May 21 14:45:00 GMT 2002



--On Tuesday, May 21, 2002 05:16:46 PM -0400 Phil Edwards <phil@jaj.com> 
wrote:

> On Tue, May 21, 2002 at 01:59:58PM -0700, Mark Mitchell wrote:
>> --On Tuesday, May 21, 2002 04:59:10 PM -0400 Phil Edwards <phil@jaj.com>
>> wrote:
>> > It also adds multiple inclusion guards.  Since those are not
>> > documentation, I'm formally requesting branch approval under rule #2.a
>> > from
>> >
>> >     http://gcc.gnu.org/ml/gcc/2002-05/msg01212.html
>>
>> Are there ways to get errors by trying to #include this file more than
>> once at present?
>
> Shiver me timbers.  I didn't think there were, but there are.  Using the
> current branch compiler:
>
>     29% cat foo.cc
>
>     #include <ext/stdio_filebuf.h>
>     #include <ext/stdio_filebuf.h>

Yup, that's what I thought.  I just didn't know if that was outside
permitted usage or not..

The patch is fine.

Thanks,

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



More information about the Gcc-patches mailing list