summaryrefslogtreecommitdiff
path: root/modules/CIAO/MPC/config/ciao_vcwarnings.mpb
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/MPC/config/ciao_vcwarnings.mpb')
-rw-r--r--modules/CIAO/MPC/config/ciao_vcwarnings.mpb20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/CIAO/MPC/config/ciao_vcwarnings.mpb b/modules/CIAO/MPC/config/ciao_vcwarnings.mpb
new file mode 100644
index 00000000000..f02556f824c
--- /dev/null
+++ b/modules/CIAO/MPC/config/ciao_vcwarnings.mpb
@@ -0,0 +1,20 @@
+// -*- MPC -*-
+// $Id$
+
+// This file contains optional features that disable VC8 warnings that were
+// not present in earlier versions. Some people may consider these superfluous
+// or have already checked code to be sure it causes no trouble. So these
+// warnings are disabled by default. To enable them, generate your projects
+// with the feature set to 0.
+
+feature(vc_avoid_deprecated_warnings) {
+ specific(prop:microsoft) {
+ DisableSpecificWarnings += 4996
+ }
+}
+
+feature(vc_avoid_dominance_warnings) {
+ specific(prop:microsoft) {
+ DisableSpecificWarnings += 4250
+ }
+}