This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [4.5 C] Provide <stdint.h> (bug 448)
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org, bkorb at gnu dot org
- Date: Fri, 3 Jul 2009 19:53:05 +0200
- Subject: Re: [4.5 C] Provide <stdint.h> (bug 448)
- References: <Pine.LNX.4.64.0811080004030.19936@digraph.polyomino.org.uk> <200904301209.37203.ebotcazou@adacore.com> <Pine.LNX.4.64.0904301014360.8120@digraph.polyomino.org.uk>
[2 months later...]
> Ensure the 64-bit definitions are used unconditionally; they are required
> for C99 conformance. I don't know whether you should fix the header or
> arrange for _NO_LONGLONG not to be defined, as I don't know where
> _NO_LONGLONG is defined and what other effects it may have.
In fact the problem is __STRICT_ANSI__ defined by the C++ compiler when
std=c++0x is passed. I'll replace it with the definition of _LONGLONG_TYPE
borrowed from Solaris 10.
--
Eric Botcazou