We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84dd4dd commit 4bad702Copy full SHA for 4bad702
src/Makefile
@@ -21,7 +21,7 @@ FLAGS := \
21
-I$(JULIAHOME)/deps/valgrind
22
ifneq ($(USEMSVC), 1)
23
FLAGS += -Wall -Wno-strict-aliasing -fno-omit-frame-pointer -fvisibility=hidden -fno-common \
24
- -Wpointer-arith -Wundef
+ -Wno-comment -Wpointer-arith -Wundef
25
ifeq ($(USEGCC),1) # GCC bug #25509 (void)__attribute__((warn_unused_result))
26
FLAGS += -Wno-unused-result
27
endif
src/llvm-version.h
@@ -17,3 +17,8 @@
17
#endif
18
19
#define LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING 0
20
+
+#if defined(__GNUC__) && (__GNUC__ >= 9)
+// Added in GCC 9, this warning is annoying
+#pragma GCC diagnostic ignored "-Winit-list-lifetime"
+#endif
0 commit comments