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
OS : Ubuntu 24.04 LTS x86_64 (6.8.0-31-generic)
V Version : V 0.4.6 6d2c3a9
vglfw Module Version : 0.2.3 (latest version on vpm)
Clang Version : Ubuntu clang version 18.1.3 (1)
GCC Version : gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
I am trying to build my project for a production build using this command :
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
Ubuntu 24.04 LTS x86_64 (6.8.0-31-generic)
V 0.4.6 6d2c3a9
0.2.3
(latest version on vpm)Ubuntu clang version 18.1.3 (1)
gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
Attachments
compile_gcc.log compile_clang.log