From owner-freebsd-toolchain@FreeBSD.ORG Fri Feb 1 13:01:36 2013 Return-Path: Delivered-To: toolchain@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C49C7E03; Fri, 1 Feb 2013 13:01:36 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id B25D7354; Fri, 1 Feb 2013 13:01:35 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA19552; Fri, 01 Feb 2013 15:01:34 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <510BBCAD.3070705@FreeBSD.org> Date: Fri, 01 Feb 2013 15:01:33 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130113 Thunderbird/17.0.2 MIME-Version: 1.0 To: toolchain@FreeBSD.org Subject: Re: base gcc and _GLIBCXX_USE_C99 References: <5106953E.2020907@FreeBSD.org> In-Reply-To: <5106953E.2020907@FreeBSD.org> X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2013 13:01:36 -0000 [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 , , , > , and 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