Keir Fraser
efeb49b813
Revert all usages of gcc's __extension__ keyword, and instead assert
...
that our headers are not built with __GNUC__ and __STRICT_ANSI__.
__extension__ had some weird (and buggy) behaviours when nested which
make it a risky proposition for general usage in our header
files. Better to disallow -ansi, -std=c99, and similar gcc options
when building against Xen headers.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-03-31 17:43:18 +01:00
Keir Fraser
d1e5ff7440
Explicitly tag every anonymous aggregate in the public headers.
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-03-26 10:14:50 +00:00
Keir Fraser
6131fde768
Prefix unnamed union structure fields with __extension__ to make it
...
work properly even in e.g. C99 standard mode.
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com >
2008-03-25 18:02:00 +00:00
Keir Fraser
21ffff5e7f
Move remaining xen/include/public/foreign files to tools/include/xen-foreign
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
--HG--
rename : xen/include/public/foreign/mkchecker.py => tools/include/xen-foreign/mkchecker.py
rename : xen/include/public/foreign/mkheader.py => tools/include/xen-foreign/mkheader.py
rename : xen/include/public/foreign/reference.size => tools/include/xen-foreign/reference.size
rename : xen/include/public/foreign/structs.py => tools/include/xen-foreign/structs.py
2008-01-27 17:25:56 +00:00
Keir Fraser
29588460f3
Do not special-case native architecture in mkchecker.py.
...
From: Bastian Blank <waldi@debian.org >
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-27 13:03:10 +00:00
Keir Fraser
18b04c04ee
Use real source files for xen/foreign build.
...
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-26 14:43:47 +00:00
Keir Fraser
03bb50b276
Remove commented-out dropping from previous changeset.
...
Signed-off-by: Keir Fraser <keir.fraser@citrix.com >
2008-01-26 10:39:58 +00:00
Keir Fraser
be5fbf9a7f
Move generation of public header hierarchy into the tools.
...
This patch merges the two versions of public header generation
currently used in the build into one.
Signed-off-by: Bastian Blank <waldi@debian.org >
2008-01-26 10:38:44 +00:00