Stefan Schmidt : llvm2.7_2.7: Add patch for build errors on newer gcc / glibc combinations
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · git version control
+Index:
llvm-2.7/include/llvm/ADT/SmallVector.h+=================================================================== +--- llvm-2.7.orig/include/llvm/ADT/SmallVector.h 2011-05-08 17:07:09.000000000 +0200++++
llvm-2.7/include/llvm/ADT/SmallVector.h2011-05-08 17:07:25.000000000 +0200
+@@ -19,6 +19,7 @@
+ #include <cassert>
+ #include <cstring>
+ #include <memory>
++#include <stddef.h>
+
Please use #include <cstddef> we are in c++ code here.
Bye Henning
Hello.
Quoted 12 lines · Henning Heinold
Quoted 10 lines · git version control
+Index:
llvm-2.7/include/llvm/ADT/SmallVector.h+=================================================================== +--- llvm-2.7.orig/include/llvm/ADT/SmallVector.h 2011-05-08 17:07:09.000000000 +0200++++
llvm-2.7/include/llvm/ADT/SmallVector.h2011-05-08 17:07:25.000000000 +0200
+@@ -19,6 +19,7 @@
+ #include <cassert>
+ #include <cstring>
+ #include <memory>
++#include <stddef.h>
+
Quoted 1 line
Please use #include <cstddef> we are in c++ code here.
Thats why I send the patch to ml before to gather some review. :)
Will update the patch and test with your suggestion.
regards
Stefan Schmidt