base gcc and _GLIBCXX_USE_C99

Andriy Gapon avg at FreeBSD.org
Mon Jan 28 15:12:01 UTC 2013


Guys,

I wonder why the following is the case for the base gcc.
/usr/include/c++/4.2/bits/c++config.h:

/* Define if C99 functions or macros from <wchar.h>, <math.h>, <complex.h>,
   <stdio.h>, and <stdlib.h> can be used or exposed. */
/* #undef _GLIBCXX_USE_C99 */

Because of this undef there is no e.g. std::strtoll().
Ditto for other things in stdlib.h.

-- 
Andriy Gapon


More information about the freebsd-toolchain mailing list