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
One some platforms (Macos), compilation of Test/jm_locale_test.c fails, since exit() is undefined.
The solution is to #include <stdlib.h>, as is done in e.g. Test/fmi_zip_zip_test.c
The text was updated successfully, but these errors were encountered:
On MacOS the following error occurs: ../build/src/Test/jm_locale_test.c:30:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration] exit(CTEST_RETURN_FAIL); ../build/src/Test/jm_locale_test.c:30:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit' 1 error generated.
Below are the build settings, which were used:
MacOSX11.3.sdk
os=Macos
arch=x86_64
compiler=apple-clang
compiler.version=13
compiler.libcxx=libc++
build_type=Release
One some platforms (Macos), compilation of
Test/jm_locale_test.c
fails, sinceexit()
is undefined.The solution is to
#include <stdlib.h>
, as is done in e.g.Test/fmi_zip_zip_test.c
The text was updated successfully, but these errors were encountered: