This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: cpplib: Fix __cplusplus definition
- To: Phil Edwards <pedwards at disaster dot jaj dot com>
- Subject: Re: cpplib: Fix __cplusplus definition
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Fri, 26 Jan 2001 13:06:28 -0800 (PST)
- cc: Neil Booth <neil at daikokuya dot demon dot co dot uk>, gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
phil you need to switch to include/c/bits from include/c_std/bits for
headers like this. That's why that directory was created. It should work.
> #include <iso/stdio_iso.h>
>
> #if __cplusplus >= 199711L
> using std::FILE;
> using std::size_t;
> using std::fpos_t;
> using std::remove;
> using std::rename;
> ...
> #endif