base gcc and _GLIBCXX_USE_C99
Pedro Giffuni
pfg at FreeBSD.org
Fri Feb 1 14:46:26 UTC 2013
Hello;
On 02/01/2013 08:01, Andriy Gapon wrote:
> [ping]
>
> on 28/01/2013 17:11 Andriy Gapon said the following:
>> 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.
>>
>
I looked at this very briefly and it looks like it would fix a nasty
issue we have been working around in OpenOffice.
I suggest to enable it first on a gcc port though (it's tied to a
configure flag, but don't remember which).
Pedro.
More information about the freebsd-toolchain
mailing list