From owner-freebsd-testing@FreeBSD.ORG Sun Feb 16 12:22:15 2014 Return-Path: Delivered-To: freebsd-testing@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 92EF1221; Sun, 16 Feb 2014 12:22:15 +0000 (UTC) Received: from blu0-omc1-s21.blu0.hotmail.com (blu0-omc1-s21.blu0.hotmail.com [65.55.116.32]) by mx1.freebsd.org (Postfix) with ESMTP id 5452018D7; Sun, 16 Feb 2014 12:22:14 +0000 (UTC) Received: from BLU0-SMTP202 ([65.55.116.9]) by blu0-omc1-s21.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 16 Feb 2014 04:21:08 -0800 X-TMN: [lA8MOxDSg0D8zDG0f+syy05/vX9H6u0H] X-Originating-Email: [jmmv@outlook.com] Message-ID: Received: from jmmv-macbookpro2.meroh.net ([108.176.158.82]) by BLU0-SMTP202.blu0.hotmail.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 16 Feb 2014 04:21:06 -0800 Content-Type: text/plain; charset="windows-1252" MIME-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: Compile error with gcc From: Julio Merino In-Reply-To: Date: Sun, 16 Feb 2014 07:21:08 -0500 Content-Transfer-Encoding: quoted-printable References: <695E42A3-2009-4DD7-B10E-BF8465C89D39@gmail.com> To: Garrett Cooper X-Mailer: Apple Mail (2.1827) X-OriginalArrivalTime: 16 Feb 2014 12:21:06.0624 (UTC) FILETIME=[911F9C00:01CF2B11] Cc: freebsd-testing@FreeBSD.org, Dimitry Andric X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Feb 2014 12:22:15 -0000 On Feb 16, 2014, at 2:28, Garrett Cooper wrote: > On Feb 15, 2014, at 9:25 PM, Garrett Cooper = wrote: >=20 >> Hi Julio, >> I ran into this error when trying to compile ATF with gcc on = code based off of r261958: >>=20 >> --- application.So --- >> /usr/src/contrib/atf/atf-c++/detail/application.cpp: In constructor = 'atf::application::usage_error::usage_error(const char*, ...)': >> /usr/src/contrib/atf/atf-c++/detail/application.cpp:71: error: = 'vsnprintf' is not a member of 'std' >> *** [application.So] Error code 1 >>=20 >> I haven=92t dug into why this is occurring yet, but I assume = it=92s because of the ATF 0.20 upgrade. >> I=92m compiling with gcc/g++ of course, and not clang/libcxxrt. >=20 > This patch seems to work with gcc and clang/libcxxrt. I didn=92t = try it without clang/libcxxrt though... Good finding! But the workaround should rather go into = lib/atf/Makefile.inc along all other configuration options. Testing a patch and submitting soon.=