[LLVMdev] LLVM program compile error w/ gcc 4.5 but not 4.4
Duncan Sands
baldrick at free.fr
Sat Oct 30 04:51:00 PDT 2010
Hi Christian,
> /waflhome/trapni/local/include/llvm/Support/AlignOf.h:57:24: error:
> expected unqualified-id before 'alignof'
...
> I absolutely have no idea on why GCC 4.5.x doesn't seem to like LLVM's
> alignof<> - maybe due to a name-clash with GCC's provides system
> headers... I don't know.
this should be fixed now if you update to latest LLVM from subversion.
Ciao,
Duncan.
More information about the llvm-dev
mailing list