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

asomers at gmail.com asomers at gmail.com
Tue Jul 2 13:05:01 UTC 2013


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


More information about the freebsd-current mailing list