This is the mail archive of the gcc@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: -ansi vs. V3


On Feb  6, 2001, Tom Leete <tleete@mountain.net> wrote:

> Strict ansi C++ should require the use of, eg.:
> #include <cstdio>
> rather than
> #include <stdio.h>

> The latter gives trouble on any platform.

It shouldn't.  There's a well-defined meaning for most Standard C89
headers in the C++ Standard.  They're deprecated, but should be
functional.  See [depr.c.headers]

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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