From owner-freebsd-toolchain@FreeBSD.ORG Fri Feb 1 14:46:26 2013 Return-Path: Delivered-To: toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8E052EFE for ; Fri, 1 Feb 2013 14:46:26 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm2-vm1.bullet.mail.ne1.yahoo.com (nm2-vm1.bullet.mail.ne1.yahoo.com [98.138.91.33]) by mx1.freebsd.org (Postfix) with ESMTP id 49479A94 for ; Fri, 1 Feb 2013 14:46:26 +0000 (UTC) Received: from [98.138.90.56] by nm2.bullet.mail.ne1.yahoo.com with NNFMP; 01 Feb 2013 14:46:19 -0000 Received: from [98.138.226.58] by tm9.bullet.mail.ne1.yahoo.com with NNFMP; 01 Feb 2013 14:46:19 -0000 Received: from [127.0.0.1] by smtp209.mail.ne1.yahoo.com with NNFMP; 01 Feb 2013 14:46:19 -0000 X-Yahoo-Newman-Id: 504818.98121.bm@smtp209.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: vUyXYwAVM1lBx3u13JKqeIBhO911iSLFdUX7BF.uycEE_tm xlMsD16Ku0xRhtaRy6.JpB2gxdISuJ3uCyi0sZ9fwtKL4znNQGh7vq7U7jJT UABepTnJ8v1EWhAqpTvAGsYO4NmM766qzxMEdWqK65Uk9Ldgn.1Y_Tc28TbQ HMQl5gNyTW68D0_U39NFO4Iy6f5U_97glAcWi2EyaqDhY9Rmp89N0QKg.h_x YinOxQi5KRAvJMClKWAZyjnOQKPnHvI1.hLhJeXsvQ.2vLuAPg5YnJFhOxWd btprNdGT90tSSHh3bo27OJMDsWPeXho8qU5f.En3JXrDUyTvBUabI1SDXM_J kgn4QXtAS98let3Zfjrgiy18lhUsS9sJ3wxcue7SrlddbNIIJ9PbMvR8SDA1 8RkuUSLhSHbcsHxryOKrDh15gqf.EdlvUhWc1vFtsCSKE2uYZOYYW44Rby9U cUvUa0GaU2sk- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Received: from [192.168.10.102] (pfg@200.118.157.7 with plain) by smtp209.mail.ne1.yahoo.com with SMTP; 01 Feb 2013 14:46:19 +0000 UTC Message-ID: <510BD53D.1070209@FreeBSD.org> Date: Fri, 01 Feb 2013 09:46:21 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Andriy Gapon Subject: Re: base gcc and _GLIBCXX_USE_C99 References: <5106953E.2020907@FreeBSD.org> <510BBCAD.3070705@FreeBSD.org> In-Reply-To: <510BBCAD.3070705@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: toolchain@FreeBSD.org 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 14:46:26 -0000 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 , , , >> , 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. >> > 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.