summaryrefslogtreecommitdiff
path: root/trunk/TAO/MPC/config/tao_vc8warnings.mpb
blob: 30ded5376ac47ea61b15fcbc898d96c1601032ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// -*- 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(vc8_avoid_dominance_warnings) {
  specific(vc8) {
    DisableSpecificWarnings += 4250
  }
  specific(nmake) {
    compile_flags += /wd4250
  }
}

feature(!vc8_stl_deprecated_warnings) {
  specific(vc8) {
    DisableSpecificWarnings += 4996
  }
  specific(nmake) {
    compile_flags += /wd4996
  }
}

feature(vc8_avoid_unimpl_exception_spec_warnings) {
  specific(vc8) {
    DisableSpecificWarnings += 4290
  }
  specific(nmake) {
    compile_flags += /wd4290
  }
}