From b0e5ba2bc7b9f437be57eddb4905156ca5928be3 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 25 Nov 2015 11:56:37 -0500 Subject: [PATCH] Figured out something for C files instead. --- wpf/sta.c | 3 +++ wpf/wpf.vcxproj | 18 +++++------------- 2 files changed, 8 insertions(+), 13 deletions(-) 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 + - -