Skip to content

Mac OS X M-series mac build failure #6

@truedat101

Description

@truedat101

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions