We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b2e053 commit 983d471Copy full SHA for 983d471
src/cppcheck-gcc13.patch
@@ -0,0 +1,18 @@
1
+GCC 13 has stricter allocator checks:
2
+https://gcc.gnu.org/gcc-13/porting_to.html
3
+
4
+Also, libstdc++ no longer leaks stdint.h definitions.
5
+--- a/lib/mathlib.cpp
6
++++ b/lib/mathlib.cpp
7
+@@ -25,2 +25,3 @@
8
+ #include <cmath>
9
++#include <cstdint>
10
+ #include <cstdlib>
11
+--- a/lib/smallvector.h
12
++++ b/lib/smallvector.h
13
+@@ -43,2 +43,5 @@
14
+ {}
15
++
16
++ template<class U> TaggedAllocator(const TaggedAllocator<U, N>);
17
++ template<class U> struct rebind { using other = TaggedAllocator<U, N>; };
18
+ };
0 commit comments