mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Add workaround for Clang bug on Windows MSVC
This commit is contained in:
parent
796aa5742e
commit
93c893bcde
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2021-03-28 Frederik Seiffert <frederik@algoriddim.com>
|
||||
|
||||
* TestFramework/Testing.h:
|
||||
Add workaround for Clang bug on Windows MSVC when tests contain no
|
||||
Objective-C constructs.
|
||||
|
||||
2021-03-21 Ivan Vucica <ivan@vucica.net>
|
||||
|
||||
* ANNOUNCE:
|
||||
|
|
|
@ -33,6 +33,13 @@
|
|||
#import <Foundation/NSRegularExpression.h>
|
||||
#import <Foundation/NSString.h>
|
||||
|
||||
#if defined(__OBJC__) && defined(__clang__) && defined(_MSC_VER)
|
||||
/* Work around Clang bug on Windows MSVC when tests contain no
|
||||
* Objective-C constructs: https://bugs.llvm.org/show_bug.cgi?id=49681
|
||||
*/
|
||||
id __work_around_clang_bug = @"__unused__";
|
||||
#endif
|
||||
|
||||
/* A flag indicating that the testsuite is currently processing tests
|
||||
* which are actually not expected to pass, but where we hope someone
|
||||
* might have committed a bugfix.
|
||||
|
|
Loading…
Reference in a new issue