diff --git a/tests/ConstStringTests.cpp b/tests/ConstStringTests.cpp index 62257a9..e155082 100644 --- a/tests/ConstStringTests.cpp +++ b/tests/ConstStringTests.cpp @@ -42,7 +42,9 @@ TEST_CASE("Use case insensitive const string in switch case", "[Utilities]") { } } +#ifndef WINDOWS __attribute__((optnone)) +#endif static Arbutils::CaseInsensitiveConstString TestCreateConstString(){ char originalVal [7]; originalVal[0] = 'f';