compilation fixes for VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -115,10 +115,12 @@ void VarArgTestCase::CharPrintf()
|
||||
|
||||
// test char used as integer:
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4305) // truncation of constant value in VC6
|
||||
#pragma warning(disable:4309) // truncation of constant value
|
||||
#endif
|
||||
c = 240;
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(default:4305) // truncation of constant value in VC6
|
||||
#pragma warning(default:4309)
|
||||
#endif
|
||||
s.Printf("value is %i (int)", c);
|
||||
|
Reference in New Issue
Block a user