I have found that GCC 4.7.2 (Debian i386 4.7.2-5) sometimes misreports
errors relating to broken #includes when the integrated cpp is in use.

Signed-off-by: Ian Jackson <[email protected]>
---
 Makefile                        |    1 +
 app-tools/rumpuserxen-app-cc.in |    3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 657583f..7512685 100644
--- a/Makefile
+++ b/Makefile
@@ -32,6 +32,7 @@ include minios.mk
 
 CFLAGS += -Irump/include -nostdinc
 CFLAGS += -DVIRTIF_BASE=xenif -I$(MINI-OS_ROOT)
+CFLAGS += -no-integrated-cpp
 
 ifeq ($(CONFIG_PCI),y)
 LIBS_PCI = -lrumpdev_pci -lrumpdev_pci_if_wm -lrumpdev_miiphy
diff --git a/app-tools/rumpuserxen-app-cc.in b/app-tools/rumpuserxen-app-cc.in
index 6a80a4a..0e8b8ff 100755
--- a/app-tools/rumpuserxen-app-cc.in
+++ b/app-tools/rumpuserxen-app-cc.in
@@ -3,4 +3,5 @@ set -e
 case " $* " in
 *" -v "*)   set -x ;;
 esac
-exec gcc -D__RUMPUSER_XEN__ -D__NetBSD__ -specs=!APPTOOLS!/specs "$@"
+exec gcc -D__RUMPUSER_XEN__ -D__NetBSD__ -no-integrated-cpp \
+ -specs=!APPTOOLS!/specs "$@"
-- 
1.7.10.4


------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
rumpkernel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rumpkernel-users

Reply via email to