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

From: <asomers_at_gmail.com>
Date: Tue, 2 Jul 2013 07:05:00 -0600
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.

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 - 11:05:01 UTC

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