duarteroso / glfw

GLFW bindings for the V language
BSD 2-Clause "Simplified" License
15 stars 4 forks source link

Compiler error building a production build #6

Open EmiyaSyahriel opened 3 weeks ago

EmiyaSyahriel commented 3 weeks ago

I am trying to build my project for a production build using this command :

v -prod -gc boehm_leak .

And it failed, mostly due to compilation errors coming from this library. most error are caused by either casting failed or incompatible pointer types when calling C glfw functions, and can be reproduced using both gcc and clang backend. Compiling non-production build works and runs fine.

I've attached the log to the errors with each V backends' respective compiler command at the files' topmost line.

System Info

Attachments

compile_gcc.log compile_clang.log