You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
D:\CMake\share\cmake-3.18\Modules\CheckFunctionExists.c(7,3): error: conflicting types for '_alloca'
CHECK_FUNCTION_EXISTS(void);
^
(6,31): note: expanded from here
#define CHECK_FUNCTION_EXISTS _alloca
^
D:\CMake\share\cmake-3.18\Modules\CheckFunctionExists.c(7,3): *note: '_alloca' is a builtin with type 'void (unsigned long long)'
(6,31): note: expanded from here
#define CHECK_FUNCTION_EXISTS _alloca
^
D:\CMake\share\cmake-3.18\Modules\CheckFunctionExists.c(17,25): error: too few arguments to function call, expected 1, have 0
CHECK_FUNCTION_EXISTS();
Currently gollvm does not support Windows, so it is expected not to work. If you want to work on it, that is great. Otherwise there is no need to file a bug report, as it is technically not a bug. Thanks.
From my CMakeError.log file:
I see that it is present within Microsoft's include directories/headers: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/alloca?view=vs-2019
And this function shouldn't be searched, on Windows, since it never had to exist (within any header file):
What did you expect to see?
-- Looking for _alloca
-- Looking for _alloca - found
-- Looking for __alloca
-- Looking for __alloca - not found
or, if being more precise:
-- Looking for _alloca
-- Looking for _alloca - found
What did you see instead?
Ivan
The text was updated successfully, but these errors were encountered: