WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] c99 compliance

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] c99 compliance
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Kip Macy <kip.macy@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] c99 compliance, Kip Macy <=