cmajor-lang / cmajor

The Cmajor public repository
https://cmajor.dev
Other
549 stars 33 forks source link

Compilation errors on Linux #40

Closed dstrub18 closed 8 months ago

dstrub18 commented 8 months ago

Hey Jules & Ces! Thank you for open-sourcing cmajor! I get some compiler errors when compiling according to the readme instructions on arch-linux. uname -r: 6.7.6-arch1-1 gcc --version: 13.2.1 20230801


The errors mostly come from the graphviz dependency. However, it is also reporting some possibly dangling references in cmaj_LLVMPerformer. I figured it's mostly warnings being treated as errors, but as the compilation fails when just following the readme instructions, I thought I should report this. I've attached the output logs from ninja in this issue. Thanks in advance!

ninja-output-log.txt

cesaref commented 8 months ago

Thanks for reporting this - we've been building with GCC 11.1. I'll try and recreate here with a more recent compiler

cesaref commented 8 months ago

There's now a fix in place for this

dstrub18 commented 8 months ago

Thanks Ces! It fixed most compilation errors, but there are still errors coming from Graphviz. I guess there's no way other than patching up Graphviz itself?

Logs attached here: logs-ninja.txt

vitreo12 commented 8 months ago

Getting the same Graphviz errors here on 6.8.2-arch2-1 and gcc version 13.2.1