[cfe-dev] Small patch to get clang working on Minix 3
Chris Lattner
clattner at apple.com
Tue Mar 16 09:07:22 PDT 2010
On Mar 16, 2010, at 8:58 AM, Kees van Reeuwijk wrote:
> Hi,
>
> I'm porting llvm and clang to Minix 3 (www.minix3.org). Clang 2.6 was easy to port, I only needed to add one #include, see the attached patch.
>
>
> It would be nice if this patch could be incorporated in clang.
Does this still occur on mainline? What error do you get?
-Chris
>
> Sincerely,
>
>
> --
> Dr. Ir. Kees van Reeuwijk, Vrije Universiteit Amsterdam
>
>
> diff -x .svn -r -U 5 /home/reeuwijk/references/clang-2.6/include/clang/Basic/Diagnostic.h llvm-2.6/llvm-2.6/tools/clang/include/clang/Basic/Diagnostic.h
> --- /home/reeuwijk/references/clang-2.6/include/clang/Basic/Diagnostic.h 2009-07-12 23:18:45.000000000 +0200
> +++ llvm-2.6/llvm-2.6/tools/clang/include/clang/Basic/Diagnostic.h 2010-03-08 14:46:46.000000000 +0100
> @@ -12,10 +12,11 @@
> //===----------------------------------------------------------------------===//
>
> #ifndef LLVM_CLANG_DIAGNOSTIC_H
> #define LLVM_CLANG_DIAGNOSTIC_H
>
> +#include <stdint.h>
> #include "clang/Basic/SourceLocation.h"
> #include <string>
> #include <vector>
> #include <cassert>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list