mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 00:28:49 +00:00
Add error message for minimum required LLVM
This commit is contained in:
@@ -21,6 +21,10 @@
|
|||||||
#include "llvm_backend_stmt.cpp"
|
#include "llvm_backend_stmt.cpp"
|
||||||
#include "llvm_backend_proc.cpp"
|
#include "llvm_backend_proc.cpp"
|
||||||
|
|
||||||
|
#if LLVM_VERSION_MAJOR < 11
|
||||||
|
#error "LLVM Version 11 is the minimum required"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
void lb_add_foreign_library_path(lbModule *m, Entity *e) {
|
void lb_add_foreign_library_path(lbModule *m, Entity *e) {
|
||||||
if (e == nullptr) {
|
if (e == nullptr) {
|
||||||
|
|||||||
Reference in New Issue
Block a user