ソースを参照

Add error message for minimum required LLVM

gingerBill 4 年 前
コミット
a5b4b73544
1 ファイル変更4 行追加0 行削除
  1. 4 0
      src/llvm_backend.cpp

+ 4 - 0
src/llvm_backend.cpp

@@ -21,6 +21,10 @@
 #include "llvm_backend_stmt.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) {
 	if (e == nullptr) {