From owner-freebsd-toolchain@FreeBSD.ORG Wed May 6 08:21:09 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0F7A2400 for ; Wed, 6 May 2015 08:21:09 +0000 (UTC) Received: from mail-ig0-x230.google.com (mail-ig0-x230.google.com [IPv6:2607:f8b0:4001:c05::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D0A3812BB for ; Wed, 6 May 2015 08:21:08 +0000 (UTC) Received: by igbyr2 with SMTP id yr2so124245621igb.0 for ; Wed, 06 May 2015 01:21:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=LpzgY1/8+YxvCr4i1CvnVa2EDGx+QqCzCHg3iy5MxhE=; b=skZC4HEbZJCcxBKnppOKCcP2hFLX+Nns82Z8oU0JlLR76aGuIljvvHyrJ4TeC7W3RF CTfKlyivBfIhiAVhNWboucMAFKGTBU/aoeIrt1AjpiQYM9fJnd+STeSqYtmd/d5W3xZL iC4As0daaImd1gWfS1V/9FkuLkCYNwXttaoPWXhhQlkFIHQeSQNy51RSKA7IeroAyeK/ 3C12h7jZdE7iSoJu+mVVH3dW9FVKrOhBYWSlGIkjqKZVAcyQKlDcaZ4Kkf8sZuTe7TgI FaQrBkQlti7IDTqlzZ1YqvGlfXveJOLV7FHswJX0NORh6+Tr4LEI/beV16Aa0HRhWeJC e8HA== X-Received: by 10.107.17.198 with SMTP id 67mr36902417ior.64.1430900468241; Wed, 06 May 2015 01:21:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.136.35 with HTTP; Wed, 6 May 2015 01:20:37 -0700 (PDT) From: Gleb Popov <6yearold@gmail.com> Date: Wed, 6 May 2015 11:20:37 +0300 Message-ID: Subject: strtoll is not defined when compiling with -std=c++03 To: freebsd-toolchain@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2015 08:21:09 -0000 Hello. I'm compiling following code #include int main() { strtoll(0,0,0); return 0; } with -std=c++03 and getting: tst.cpp:5:1: error: use of undeclared identifier 'strtoll' strtoll(0,0,0); ^ 1 error generated. Preprocessing system headers with this flag shows that __LONG_LONG_SUPPORTED isn't defined. Is this a bug?