mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
quench strict aliasing warnings
This commit is contained in:
parent
a380ed9259
commit
deeab558ba
@ -25,6 +25,8 @@
|
|||||||
# pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
|
# pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
|
||||||
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||||
# pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
# pragma GCC diagnostic ignored "-Wmissing-field-initializers"
|
||||||
|
# pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||||
|
# pragma GCC diagnostic ignored "-Wattributes"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "attr.h"
|
#include "attr.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user