This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -ansi vs. V3
- To: Tom Leete <tleete at mountain dot net>
- Subject: Re: -ansi vs. V3
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 06 Feb 2001 23:35:11 -0200
- Cc: Mark Mitchell <mark at codesourcery dot com>, gcc at gcc dot gnu dot org, Jason Merrill <jason at cygnus dot com>, Benjamin Kosnik <bkoz at nabi dot net>
- Organization: GCC Team, Red Hat
- References: <20010206102828O.mitchell@codesourcery.com><3A809DCC.F2561566@mountain.net>
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