[LLVMbugs] [Bug 8229] New: Unable to build dragonegg against LLVM from trunk
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Sep 25 00:01:30 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=8229
Summary: Unable to build dragonegg against LLVM from trunk
Product: dragonegg
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: New Bugs
AssignedTo: baldrick at free.fr
ReportedBy: oroppas at gmail.com
CC: llvmbugs at cs.uiuc.edu
gcc 4.5.1
Compiling utils/target.cpp
Linking target
Compiling llvm-cache.c
Compiling llvm-convert.cpp
In file included from /usr/include/llvm/Support/Allocator.h:17:0,
from
/home/ryuta/devel/dragonegg/src/dragonegg/llvm-debug.h:35,
from
/home/ryuta/devel/dragonegg/src/dragonegg/llvm-convert.cpp:28:
/usr/include/llvm/Support/AlignOf.h:57:24: error: expected unqualified-id
before ‘alignof’
In file included from
/home/ryuta/devel/dragonegg/src/dragonegg/llvm-debug.h:35:0,
from
/home/ryuta/devel/dragonegg/src/dragonegg/llvm-convert.cpp:28:
/usr/include/llvm/Support/Allocator.h: In member function ‘void
llvm::SpecificBumpPtrAllocator<T>::DestroyAll()’:
/usr/include/llvm/Support/Allocator.h:204:46: error: expected
primary-expression before ‘<’ token
/usr/include/llvm/Support/Allocator.h:204:48: error: expected
primary-expression before ‘>’ token
/usr/include/llvm/Support/Allocator.h:204:50: error: expected
primary-expression before ‘)’ token
In file included from /usr/include/llvm/ValueSymbolTable.h:18:0,
from
/home/ryuta/devel/dragonegg/src/dragonegg/llvm-convert.cpp:39:
/usr/include/llvm/ADT/StringMap.h: In static member function ‘static
llvm::StringMapEntry<ValueTy>* llvm::StringMapEntry<ValueTy>::Create(const
char*, const char*, AllocatorTy&, InitType)’:
/usr/include/llvm/ADT/StringMap.h:170:33: error: expected primary-expression
before ‘<’ token
/usr/include/llvm/ADT/StringMap.h:170:48: error: expected primary-expression
before ‘>’ token
/usr/include/llvm/ADT/StringMap.h:170:50: error: expected primary-expression
before ‘)’ token
In file included from
/home/ryuta/devel/dragonegg/src/dragonegg/llvm-convert.cpp:61:0:
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/plugin/include/system.h: At global scope:
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/plugin/include/system.h:382:53: error:
declaration of ‘int getopt(int, char* const*, const char*)’ throws different
exceptions
/usr/include/getopt.h:152:12: error: from previous declaration ‘int getopt(int,
char* const*, const char*) throw ()’
make: *** [llvm-convert.o] Error 1
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list