-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Compiler helped find the fix, rename hackstack to haystack. Probably your tests are on Windows so this gets missed in the ifdef.
[ 65%] Building CXX object CMakeFiles/BrotBoxEngine.dir/BrotBoxEngine/String.cpp.o
/Users/dkords/dev/repos/BrotBoxEngine/BrotBoxEngine/String.cpp:797:20: error: use of undeclared identifier 'hackstack'; did you mean 'haystack'?
return strcasestr(hackstack, needle) != nullptr;
^~~~~~~~~
haystack
/Users/dkords/dev/repos/BrotBoxEngine/BrotBoxEngine/String.cpp:792:52: note: 'haystack' declared here
static bool platformIndependentStrStrI(const char* haystack, const char* needle)
^
1 error generated.
Metadata
Metadata
Assignees
Labels
No labels