diff --git a/Wxwin.dsp b/Wxwin.dsp index d37ff3eff7..0d5459ae69 100644 --- a/Wxwin.dsp +++ b/Wxwin.dsp @@ -264,9 +264,11 @@ SOURCE=.\src\msw\curico.cpp !IF "$(CFG)" == "wxWin - Win32 Release" +# ADD CPP /YX + !ELSEIF "$(CFG)" == "wxWin - Win32 Debug" -# ADD CPP /D "STRICT" +# ADD CPP /D "STRICT" /YX !ENDIF @@ -394,9 +396,11 @@ SOURCE=.\src\msw\dib.cpp !IF "$(CFG)" == "wxWin - Win32 Release" +# ADD CPP /YX + !ELSEIF "$(CFG)" == "wxWin - Win32 Debug" -# ADD CPP /D "STRICT" +# ADD CPP /D "STRICT" /YX !ENDIF @@ -433,11 +437,11 @@ SOURCE=.\src\msw\dummy.cpp !IF "$(CFG)" == "wxWin - Win32 Release" -# ADD CPP /Yc"" +# ADD CPP /YX !ELSEIF "$(CFG)" == "wxWin - Win32 Debug" -# ADD CPP /D "STRICT" /Yc"" +# ADD CPP /D "STRICT" /YX !ENDIF diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index f133213341..176d1e4cc1 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -13,6 +13,8 @@ #pragma implementation "thread.h" #endif +// this is here to regen the precompiled header in the ide compile otherwise the +// compiler crashes in vc5 (nfi why) // For compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h"