Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Feb 2013 09:46:21 -0500
From:      Pedro Giffuni <pfg@FreeBSD.org>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        toolchain@FreeBSD.org
Subject:   Re: base gcc and _GLIBCXX_USE_C99
Message-ID:  <510BD53D.1070209@FreeBSD.org>
In-Reply-To: <510BBCAD.3070705@FreeBSD.org>
References:  <5106953E.2020907@FreeBSD.org> <510BBCAD.3070705@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?510BD53D.1070209>