From f0f317ed44b0a30e6b727b211e5b3a160e2e9e17 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sat, 4 Nov 2000 05:54:58 +0000 Subject: [PATCH] Add #pragmas which allow compilation in ansi strict mode under Metrowerks [SVN r8123] --- extclass_demo.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extclass_demo.cpp b/extclass_demo.cpp index 634cfe14..a7278649 100644 --- a/extclass_demo.cpp +++ b/extclass_demo.cpp @@ -851,7 +851,13 @@ CompareIntPairPythonClass::CompareIntPairPythonClass() #if defined(_WIN32) +# ifdef __MWERKS__ +# pragma ANSI_strict off +# endif # include +# ifdef __MWERKS__ +# pragma ANSI_strict reset +# endif extern "C" BOOL WINAPI DllMain ( HINSTANCE hInst, DWORD wDataSeg, LPVOID lpvReserved ); # ifdef PY_COMPILER_IS_MSVC