Re: Fix C prototype in LLVM PassBuilder.h

2023-09-03 Thread Jeremie Courreges-Anglas
On Sun, Sep 03 2023, Visa Hankala wrote: > LLVM C API has an incorrect prototype in > that compilers complain about with -Wstrict-prototypes. > > /usr/local/include/llvm-c/Transforms/PassBuilder.h:53:55: error: this > function declaration is not a prototype [-Werror,-Wstrict-prototypes] > LLVMPa

Fix C prototype in LLVM PassBuilder.h

2023-09-02 Thread Visa Hankala
LLVM C API has an incorrect prototype in that compilers complain about with -Wstrict-prototypes. /usr/local/include/llvm-c/Transforms/PassBuilder.h:53:55: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes] LLVMPassBuilderOptionsRef LLVMCreatePassBuilderOptions();