Don't report 'warning unknown pragma' message with GCC.
This commit is contained in:
parent
a768b0e8b2
commit
aedaacba95
|
@ -34,9 +34,11 @@
|
|||
extern std::ostringstream errout;
|
||||
extern std::ostringstream output;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
// Visual Studio complains about truncated values for '(char)0xff' and '(char)0xfe'
|
||||
// TODO: Is there any nice way to fix these warnings?
|
||||
#pragma warning( disable : 4310 )
|
||||
#endif
|
||||
|
||||
class TestPreprocessor : public TestFixture {
|
||||
public:
|
||||
|
|
Loading…
Reference in New Issue