grame-cncm / faust

Functional programming language for signal processing and sound synthesis
http://faust.grame.fr
Other
2.58k stars 322 forks source link

Build error on Fedora 40 #1008

Closed ycollet closed 7 months ago

ycollet commented 7 months ago

I am building Faust 2.72.13 on Fedora 40 with gcc 14.0.1 and I met an error during build. A header is missing:

diff --git a/compiler/generator/llvm/llvm_dynamic_dsp_aux.cpp b/compiler/generator/llvm/llvm_dynamic_dsp_aux.cpp
index 1643097..d3f17a8 100644
--- a/compiler/generator/llvm/llvm_dynamic_dsp_aux.cpp
+++ b/compiler/generator/llvm/llvm_dynamic_dsp_aux.cpp
@@ -43,6 +43,7 @@
 #include <llvm/IR/LegacyPassNameParser.h>
 #include <llvm/IR/Verifier.h>
 #include <llvm/IR/PassManager.h>
+#include <llvm/IR/Constants.h>
 #include <llvm/IRReader/IRReader.h>
 #include <llvm/Linker/Linker.h>
 #include <llvm/Support/FileSystem.h>
-- 
2.44.0
sletz commented 7 months ago

Thanks, will be fixed in next 2.72.14.

ycollet commented 7 months ago

Thanks a lot !