Maurice Gittens
2009-Jul-03 06:58 UTC
[LLVMdev] Current SVN: Compile error on Fedora 11 Linux/x64-gcc 4.40
Hi, I need to add a missing include to get current SVN to compile. --- CodeGen/BinaryObject.h (revision 74762) +++ CodeGen/BinaryObject.h (working copy) @@ -18,6 +18,9 @@ #include <string> #include <vector> +#include <stdint.h> + + namespace llvm { My system does not know about uint8_t without this include file. Kind regards, Maurice -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090703/e93e897e/attachment.html>
Anton Korobeynikov
2009-Jul-03 07:35 UTC
[LLVMdev] Current SVN: Compile error on Fedora 11 Linux/x64-gcc 4.40
> I need to add a missing include to get current SVN to compile. > > --- CodeGen/BinaryObject.h (revision 74762) > +++ CodeGen/BinaryObject.h (working copy) > @@ -18,6 +18,9 @@ > #include <string> > #include <vector> > > +#include <stdint.h>It should include DataTypes.h instead - MSVC does not have this file -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University