git: <machine/stdarg.h>: Make <stdarg.h> compatible with ports compilers.
Rimvydas Jasinskas
zrj at crater.dragonflybsd.org
Sat Dec 12 01:09:45 PST 2020
commit 73eb2aa9e6720de3c24e3b05b5e4606a14d2aa67
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Tue Dec 8 10:31:50 2020 +0000
<machine/stdarg.h>: Make <stdarg.h> compatible with ports compilers.
We are now building with -Wsystem-headers for c++ and compilers provide
their own <stdarg.h> versions containing legacy compatibility
__va_copy() definition that was used in the draft proposal.
Treat it as reserved name. Only kernel code should use <sys/stdarg.h>
Summary of changes:
sys/cpu/x86_64/include/stdarg.h | 4 ++--
sys/sys/stdarg.h | 5 ++++-
2 files changed, 6 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/73eb2aa9e6720de3c24e3b05b5e4606a14d2aa67
--
DragonFly BSD source repository
More information about the Commits
mailing list