diff --git a/wpf/sta.c b/wpf/sta.c index 8b99e900..95082836 100644 --- a/wpf/sta.c +++ b/wpf/sta.c @@ -1,4 +1,7 @@ // 25 november 2015 +#ifdef __cplusplus +#error msbuild is being dumb and making this a C++ file +#endif #include "../windows/winapi.h" #include "../ui.h" diff --git a/wpf/wpf.vcxproj b/wpf/wpf.vcxproj index ce6c5244..2b011d50 100755 --- a/wpf/wpf.vcxproj +++ b/wpf/wpf.vcxproj @@ -43,12 +43,12 @@ ..\out\ ..\.obj\ false - Link - EnableAllWarnings + + Level4 NotUsing @@ -61,15 +61,6 @@ - - - - - - cl sta.c /c /TC /analyze /bigobj /nologo /W4 /Wp64 /Zi /wd4100 /Fo$(IntDir)sta.obj - sta.c - $(IntDir)sta.obj - @@ -80,9 +71,10 @@ + + false + - -