Implement multiple kind of workarounds for GCC 12

as it produces more false warnings

Include missing header in C++ mode
This commit is contained in:
Patrick Pelissier committed 2022-12-22 20:42:20 +01:00
1 parent 9da0d1d94b
commit f5bbc0a7fb
4 files changed
+16 -3

No files matched your search

+2
View File
@@ -449,6 +449,8 @@ static void test_double(void)
/* For this, we need new placement support */
#include <new>
/* For std::move */
#include <utility>
/* Some Simple Oplist for a C++ class (using new placement feature)
Some features may not be always available (like comparison or I/O).