mirror of https://github.com/djcb/mu.git
clang: avoid some build warnings
This commit is contained in:
parent
7b38f094c4
commit
d374d94031
|
@ -26,7 +26,6 @@
|
|||
#include <memory>
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wredundant-decls"
|
||||
#pragma GCC diagnostic ignored "-Wvolatile"
|
||||
#include <libguile.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wredundant-decls"
|
||||
#pragma GCC diagnostic ignored "-Wvolatile"
|
||||
#include <libguile.h>
|
||||
#pragma GCC diagnostic pop
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#ifdef BUILD_GUILE
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wredundant-decls"
|
||||
#pragma GCC diagnostic ignored "-Wvolatile"
|
||||
#include <libguile.h>
|
||||
#pragma GCC diagnostic pop
|
||||
#endif /*BUILD_GUILE*/
|
||||
|
|
|
@ -56,6 +56,7 @@ extra_flags = [
|
|||
'-Wno-switch-enum',
|
||||
'-Wno-keyword-macro',
|
||||
'-Wno-volatile',
|
||||
'-Wno-deprecated-volatile',
|
||||
'-Wno-#warnings',
|
||||
# assuming these are false alarm... (in fmt, with gcc13):
|
||||
'-Wno-array-bounds',
|
||||
|
|
Loading…
Reference in New Issue