]> Dogcows Code - chaz/yoink/blob - src/stlplus/subsystems/subsystems_fixes.hpp
testing new non-autotools build system
[chaz/yoink] / src / stlplus / subsystems / subsystems_fixes.hpp
1 #ifndef STLPLUS_SUBSYSTEMS_FIXES
2 #define STLPLUS_SUBSYSTEMS_FIXES
3 ////////////////////////////////////////////////////////////////////////////////
4
5 // Author: Andy Rushton
6 // Copyright: (c) Southampton University 1999-2004
7 // (c) Andy Rushton 2004-2009
8 // License: BSD License, see ../docs/license.html
9
10 // Contains work arounds for OS or Compiler specific problems
11
12 ////////////////////////////////////////////////////////////////////////////////
13
14 ////////////////////////////////////////////////////////////////////////////////
15 // Unnecessary compiler warnings
16 ////////////////////////////////////////////////////////////////////////////////
17
18 #ifdef _MSC_VER
19 // Microsoft Visual Studio
20 // shut up the following irritating warnings
21 // 4786 - VC6, identifier string exceeded maximum allowable length and was truncated (only affects debugger)
22 // 4305 - VC6, identifier type was converted to a smaller type
23 // 4503 - VC6, decorated name was longer than the maximum the compiler allows (only affects debugger)
24 // 4309 - VC6, type conversion operation caused a constant to exceeded the space allocated for it
25 // 4290 - VC6, C++ exception specification ignored
26 // 4800 - VC6, forcing value to bool 'true' or 'false' (performance warning)
27 // 4675 - VC7.1, "change" in function overload resolution _might_ have altered program
28 // 4996 - VC8, 'xxxx' was declared deprecated
29 #pragma warning(disable: 4786 4305 4503 4309 4290 4800 4675 4996)
30 #endif
31
32 #ifdef __BORLANDC__
33 // Borland
34 // Shut up the following irritating warnings
35 // 8026 - Functions with exception specifications are not expanded inline
36 // 8027 - Functions with xxx are not expanded inline
37 #pragma warn -8026
38 #pragma warn -8027
39 #endif
40
41 ////////////////////////////////////////////////////////////////////////////////
42 #endif
This page took 0.033567 seconds and 4 git commands to generate.