[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] c99 compliance


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Kip Macy <kip.macy@xxxxxxxxx>
  • Date: Tue, 12 Apr 2005 10:34:54 -0700
  • Delivery-date: Tue, 12 Apr 2005 17:34:59 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=Bkv3MASg/jF0KkUdA064cUM7U36oIIHbrod3QAbCKAWJZEic9f+Wg325wTjd1P91IM2CAj16IvaXO7Lul92POIVv4xNGya5Ar3IFx2Z8sgAZ35xDo4tsU2iJXh+c2bgm2Vg25L9LYSH77K31qQDsKTkkDxWFEL1xZeDx34XyhNA=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.