summaryrefslogtreecommitdiff
path: root/Jamrules.jam
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-08 20:36:20 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-05-08 20:36:20 +0000
commit8b6be5c02e0ab6bc075eaada41753c51d61ed6de (patch)
treea56f29228977176f849c63d18571db2640f161da /Jamrules.jam
parent6706a3f8ba550701012bee86f6a1d60890437cdf (diff)
Don't use global no-deprecate switch for newer GCC/MinGW, fixed warnings because of deprecation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@390 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'Jamrules.jam')
-rw-r--r--Jamrules.jam7
1 files changed, 6 insertions, 1 deletions
diff --git a/Jamrules.jam b/Jamrules.jam
index e362eac..7c88a2b 100644
--- a/Jamrules.jam
+++ b/Jamrules.jam
@@ -12,7 +12,12 @@ if ( $(toolset:I=^mingw) || $(toolset) = "gcc" )
}
CCFLAGS += -D$(defines) ;
- CCFLAGS += -Wno-deprecated-declarations ;
+
+ if ( $(toolset:I=^mingw3) )
+ {
+ # GCC3 does not have pragma diagnostic
+ CCFLAGS += -Wno-deprecated-declarations ;
+ }
if ( $(configuration) = "debug" )
{