recp / cglm

📽 Highly Optimized 2D / 3D Graphics Math (glm) for C

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

0.9 build failure on arch other than x86_64 and aarch

bl4ckb0ne opened this issue · comments

Im getting the following error when building 0.9.0 on arch other than x86_64 and aarch in the alpine linux CI 1

ninja: job failed: gcc -Ilibcglm.so.0.9.0.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c11 -Os -Wformat -Werror=format-security -Os -Wformat -Werror=format-security -fPIC -MD -MQ libcglm.so.0.9.0.p/src_io.c.o -MF libcglm.so.0.9.0.p/src_io.c.o.d -o libcglm.so.0.9.0.p/src_io.c.o -c ../src/io.c
In file included from ../src/../include/cglm/cglm.h:30,
                 from ../src/io.c:10:
../src/../include/cglm/io.h: In function 'glm_arch_print_name':
../src/../include/cglm/io.h:70:38: error: unused parameter 'ostream' [-Werror=unused-parameter]
   70 | glm_arch_print_name(FILE* __restrict ostream) {
      |            

Hi @bl4ckb0ne,

Thanks for reporting this,

ed09fb5 commit should fix this, can you give a try pls?

Had to pull 2d6538e to fix a compilation issue but it seems to be working. Sorry to answer that late and thanks a lot!

@bl4ckb0ne thanks 👍