Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
7731 Discussions

Error compiling llvm-gcc with ICC 11.1 in Linux

tp5
New Contributor I
197 Views
I have successfully build LLVM and clang with ICC, but cannot build llvm-gcc. This is the error.


../../trunk/gcc/llvm-types.cpp(832): error: "Ty", declared in condition, may not be redeclared in this scope
const Type *Ty;
0 Kudos
3 Replies
Kittur_G_Intel
Employee
197 Views

Hi,
Let me try building ths with the latest 11.1 and see if I can reproduce the problem. I'll let you know right after, appreciate much.
-regards,
Kittur

Kittur_G_Intel
Employee
197 Views
Hi,
Could you attach the system info and the gcc info etc., that you used to build this? Also could you please try with the latest 11.1 compiler as we couldn't reproduce the problem, thanks.
-regards,
Kittur
tp5
New Contributor I
197 Views
I have already deleted the svn directory, but will try again at some point and report back then.
Reply