Re: CURRENT fails to build: usr/src/sbin/devd/devd.cc:1125:2: error: use of undeclared identifier 'va_end' va_end(argp);

From: Alan Somers <asomers_at_freebsd.org>
Date: Tue, 2 Jul 2013 08:51:37 -0600
Should be fixed in 252508.  I guess I need to start testing with
libc++ from now on.

On Tue, Jul 2, 2013 at 7:11 AM, O. Hartmann <ohartman_at_zedat.fu-berlin.de> wrote:
> On Tue, 2 Jul 2013 07:05:00 -0600
> asomers_at_gmail.com wrote:
>
>> And yet it's not producing any tinderbox errors.  Perhaps stdarg.h is
>> getting implicitly included by some other header in CURRENT, but not
>> in whatever version of the code you have?  For now, you can #include
>> <stdarg.h> and I'll fix it when I get to the office this morning.
>
> The code version I have is
> [...]
>>>> Updating /usr/src using Subversion
> --------------------------------------------------------------
> Updating '.':
> At revision 252505.
> [...]
>
> Thanks for looking into it.
>
> Regards,
> Oliver
>
>>
>> On Tue, Jul 2, 2013 at 3:56 AM, O. Hartmann
>> <ohartman_at_zedat.fu-berlin.de> wrote:
>> > The recent sources fails to build with the following error:
>> >
>> >
>> > [...]
>> > ===> sbin/devd (all)
>> > c++  -O2 -pipe -O3 -march=native -I. -I/usr/src/sbin/devd -pipe -O3
>> > -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall
>> > -Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith
>> > -Wno-uninitialized -Wno-empty-body -Wno-string-plus-int
>> > -Wno-tautological-compare -Wno-unused-value
>> > -Wno-parentheses-equality -Wno-unused-function -Wno-conversion
>> > -stdlib=libc++ -std=c++11
>> > -c /usr/src/sbin/devd/devd.cc /usr/src/sbin/devd/devd.cc:1120:2:
>> > error: use of undeclared identifier 'va_start' va_start(argp, fmt);
>> > ^ /usr/src/sbin/devd/devd.cc:1125:2: error: use of undeclared
>> > identifier 'va_end' va_end(argp); ^ 2 errors generated. *** Error
>> > code 1
>> >
>> > Stop.
>> > make: stopped in /usr/src/sbin/devd
>> > *** Error code 1
>> >
>> >
>> > Oliver
>
>
Received on Tue Jul 02 2013 - 12:51:38 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:39 UTC