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
I tried both gcc 9.1.0 and the default clang on macOS 10.11.6 and I got the same failure:
In file included from /Users/ondrej/repos/JKQtPlotter/lib/jkqtcommon/jkqtplinalgtools.h:39,
from /Users/ondrej/repos/JKQtPlotter/lib/jkqtcommon/jkqtplinalgtools.cpp:22:
/Users/ondrej/repos/JKQtPlotter/lib/./jkqtcommon/jkqtparraytools.h: In function ‘void* jkqtpArrayMalloc(size_t)’:
/Users/ondrej/repos/JKQtPlotter/lib/./jkqtcommon/jkqtparraytools.h:81:12: error: ‘_aligned_malloc’ was not declared in this scope
81 | return _aligned_malloc(size, JKQTP_ALIGNMENT_BYTES);
| ^~~~~~~~~~~~~~~
/Users/ondrej/repos/JKQtPlotter/lib/./jkqtcommon/jkqtparraytools.h: In function ‘void jkqtpArrayFree(void*)’:
/Users/ondrej/repos/JKQtPlotter/lib/./jkqtcommon/jkqtparraytools.h:122:9: error: ‘_aligned_free’ was not declared in this scope
122 | _aligned_free(data);
| ^~~~~~~~~~~~~
make[2]: *** [lib/jkqtcommon/CMakeFiles/JKQTCommonSharedLib.dir/jkqtplinalgtools.cpp.o] Error 1
make[1]: *** [lib/jkqtcommon/CMakeFiles/JKQTCommonSharedLib.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered:
Should be fixed with my last commit ... these are remenants of an older project and not really needed any more ... and (as you found out) not very portable without the appropriate compiler defines
I tried both gcc 9.1.0 and the default clang on macOS 10.11.6 and I got the same failure:
The text was updated successfully, but these errors were encountered: