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