Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Compiler error building a production build #6

Open
EmiyaSyahriel opened this issue Jun 4, 2024 · 0 comments
Open

Compiler error building a production build #6

EmiyaSyahriel opened this issue Jun 4, 2024 · 0 comments

Comments

@EmiyaSyahriel
Copy link

EmiyaSyahriel commented Jun 4, 2024

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

Attachments

compile_gcc.log
compile_clang.log

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant