clang: avoid some build warnings
This commit is contained in:
@ -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',
|
||||
|
||||
Reference in New Issue
Block a user