aboutsummaryrefslogtreecommitdiff
path: root/libstudxml/details/pre.hxx
blob: c3ff9547788928b4cf89d55a55834909405293cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// file      : libstudxml/details/pre.hxx
// license   : MIT; see accompanying LICENSE file

#ifdef _MSC_VER
  // Push warning state.
  //
#  pragma warning (push, 3)

  // Disabled warnings.
  //
#  pragma warning (disable:4251) // needs to have DLL-interface
#  pragma warning (disable:4290) // exception specification ignored
#  pragma warning (disable:4355) // passing 'this' to a member
#  pragma warning (disable:4800) // forcing value to bool

// Elevated warnings.
//
#  pragma warning (2:4239) // standard doesn't allow this conversion

#endif