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
In file included from ../src/io.c:10:
In file included from ../src/../include/cglm/cglm.h:30:
../src/../include/cglm/io.h:70:38: error: unused parameter 'ostream' [-Werror,-Wunused-parameter]
glm_arch_print_name(FILE* __restrict ostream) {
^
1 error generated.
Version: 0.9.0
clang-16
FreeBSD 13.2
The text was updated successfully, but these errors were encountered:
I have just tried to build cglm on FreeBSD 13 ( aarch64 ), it succeeded without warnings and errors with Autotools and CMake. I did not install clang on FreeBSD yet but clang on macOS dont throw ant warnings/errors.
I believe this issue was fixed in 0.9.1. This version hasn't been released yet, so FreeBSD Ports is still bundling 0.9.0.
For reference (this is bad, don't do it), compiling master with clang -Weverything -Wno-reserved-macro-identifier -Wno-documentation-pedantic -Wno-float-equal spits out:
cglm/include/cglm/bezier.h:124:15: warning: implicit conversion from 'int' to 'float' may lose precision [-Wimplicit-int-float-conversion]
for (i = 0; i < CGLM_DECASTEL_MAX; i++) {
Compilation fails:
Version: 0.9.0
clang-16
FreeBSD 13.2
The text was updated successfully, but these errors were encountered: