gnustep / tools-make

The makefile package is a simple, powerful and extensible way to write makefiles for a GNUstep-based project.
https://www.gnustep.org/
GNU General Public License v3.0
29 stars 43 forks source link

Windows MSVC: suppress Clang warning -Wmicrosoft-include #21

Closed triplef closed 3 years ago

triplef commented 3 years ago

Silences a bunch of warnings like the following when building for Windows MSVC, as can be seen in recent CI runs. Please let me know if there’s a better place to put this.

In file included from GSLocale.m:25:
In file included from ././common.h:35:
../Headers\GNUstepBase/GSVersionMacros.h:222:10: warning: #include resolved using non-portable Microsoft search rules as: ././GNUstepBase/GSConfig.h [-Wmicrosoft-include]
#include "GNUstepBase/GSConfig.h"
         ^

Stack Overflow has a bit more info on the warning. Silencing it seemed like the best way forward to me.

triplef commented 3 years ago

Thank you for the review and input, I’ve moved this to target.make.