[LLVMdev] llvm-gcc-4.2.-2.8 failed on gcc 3.4.6

Csaba Raduly rcsaba at gmail.com
Wed Feb 2 05:03:56 PST 2011


Hi,
On Wed, Feb 2, 2011 at 1:33 PM, Zivi, David  wrote:
> Hi,
> I got the following error message when I try to compile llvm-gcc with gcc
> 3.4.6:
>
> cc1plus: error: unrecognized command line option "-Wno-variadic-macros"
> make[3]: *** [llvm-main.o] Error 1
>
> Someone have an idea ?

-Wno-variadic-macros is only understood by GCC 4.0 and above.

Did you switch your compiler without re-running configure?
(configure checks that the compiler understands -Wno-variadic-macros,
among others)

Csaba
-- 
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds



More information about the llvm-dev mailing list