* c99 compliance
@ 2005-04-12 17:34 Kip Macy
0 siblings, 0 replies; only message in thread
From: Kip Macy @ 2005-04-12 17:34 UTC (permalink / raw)
To: xen-devel
In trying to bring freebsd up to date with -unstable I hit the following:
kmacy@bldf2 make kernel
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I.
-I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq
-I../../../contrib/ipfilter -I../../../contrib/pf
-I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd
-I../../../contrib/ngatm -I../../include/xen-public -D_KERNEL -include
opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
-Werror ../../../cam/cam.c
In file included from ./machine/hypervisor-ifs.h:14,
from ./machine/xen-os.h:56,
from ./machine/cpufunc.h:48,
from ../../../sys/systm.h:42,
from ../../../cam/cam.c:35:
./machine/xen-public/xen.h:186: warning: declaration does not declare anything
./machine/xen-public/xen.h:192: warning: declaration does not declare anything
In file included from ./machine/hypervisor-ifs.h:15,
from ./machine/xen-os.h:56,
from ./machine/cpufunc.h:48,
from ../../../sys/systm.h:42,
from ../../../cam/cam.c:35:
./machine/xen-public/io/domain_controller.h:45: warning: declaration
does not declare anything
./machine/xen-public/io/domain_controller.h:49: warning: declaration
does not declare anything
*** Error code 1
Stop in /amd/ayr/vol/users2/home/kmacy/xen/050322/xeno-unstable.bk/freebsd-5.3-xenU/i386-xen/compile/XENCONF.
Compiling without -std=c99 works ok. Would it be reasonable to ask
that we stick -std=c99 into the makefiles?
kmacy@bldf2 cc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.4.2 [FreeBSD] 20040728
-Kip
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-04-12 17:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-12 17:34 c99 compliance Kip Macy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.