Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2014 07:21:08 -0500
From:      Julio Merino <jmmv@outlook.com>
To:        Garrett Cooper <yanegomi@gmail.com>
Cc:        freebsd-testing@FreeBSD.org, Dimitry Andric <dim@FreeBSD.org>
Subject:   Re: Compile error with gcc
Message-ID:  <BLU0-SMTP202557EEC2D40BB11217929C09E0@phx.gbl>
In-Reply-To: <A8EF2DCC-5F11-4405-88D1-05A193AB7BAF@gmail.com>
References:  <695E42A3-2009-4DD7-B10E-BF8465C89D39@gmail.com> <A8EF2DCC-5F11-4405-88D1-05A193AB7BAF@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Feb 16, 2014, at 2:28, Garrett Cooper <yanegomi@gmail.com> wrote:

> On Feb 15, 2014, at 9:25 PM, Garrett Cooper <yaneurabeya@gmail.com> =
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.=



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