[oe] [oe-commits] Stefan Schmidt : llvm2.7_2.7: Add patch for build errors on newer gcc / glibc combinations

Henning Heinold heinold at inf.fu-berlin.de
Mon May 16 08:14:06 UTC 2011


On Mon, May 16, 2011 at 08:09:15AM +0000, git version control wrote:
> +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.h	2011-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




More information about the Openembedded-devel mailing list