From 794771ddff47ea26046e1e4028121bfacfffc8b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Thu, 25 Oct 2007 13:22:01 +0000 Subject: [PATCH] Suppress useless trigraph warnings triggered by pcihdr.h. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22718 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- build/jam/BuildSetup | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/build/jam/BuildSetup b/build/jam/BuildSetup index 5cee80c1a2..e7d1249f88 100644 --- a/build/jam/BuildSetup +++ b/build/jam/BuildSetup @@ -226,13 +226,13 @@ if $(DEBUG_PRINTF) { } # warning flags -HAIKU_WARNING_CCFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wcast-align +HAIKU_WARNING_CCFLAGS = -Wall -Wno-trigraphs -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wsign-compare ; -HAIKU_WARNING_C++FLAGS = -Wall -Wno-ctor-dtor-privacy +HAIKU_WARNING_C++FLAGS = -Wall -Wno-trigraphs -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare ; -HAIKU_KERNEL_WARNING_CCFLAGS = -Wall -Wmissing-prototypes ; -HAIKU_KERNEL_WARNING_C++FLAGS = -Wall ; +HAIKU_KERNEL_WARNING_CCFLAGS = -Wall -Wno-trigraphs -Wmissing-prototypes ; +HAIKU_KERNEL_WARNING_C++FLAGS = -Wall -Wno-trigraphs ; # debug flags HAIKU_DEBUG_FLAGS ?= -ggdb ; @@ -444,13 +444,13 @@ if $(HOST_ARCH) = ppc { } # warning flags -HOST_WARNING_CCFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wcast-align +HOST_WARNING_CCFLAGS = -Wall -Wno-trigraphs -Wmissing-prototypes -Wpointer-arith -Wcast-align -Wsign-compare ; -HOST_WARNING_C++FLAGS = -Wall -Wno-ctor-dtor-privacy +HOST_WARNING_C++FLAGS = -Wall -Wno-trigraphs -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wpointer-arith -Wcast-align -Wsign-compare ; -HOST_KERNEL_WARNING_CCFLAGS = -Wall -Wmissing-prototypes ; -HOST_KERNEL_WARNING_C++FLAGS = -Wall ; +HOST_KERNEL_WARNING_CCFLAGS = -Wall -Wno-trigraphs -Wmissing-prototypes ; +HOST_KERNEL_WARNING_C++FLAGS = -Wall -Wno-trigraphs ; # debug flags switch $(HOST_PLATFORM) {