aboutsummaryrefslogtreecommitdiff
path: root/libstudxml/details/pre.hxx
blob: 912430c6a1f919f0d792a2395b4151a277f66dc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// file      : libstudxml/details/pre.hxx
// copyright : Copyright (c) 2013-2019 Code Synthesis Tools CC
// 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