[LLVMdev] Problem building llvm 3.5.0 with gcc 4.9.0

Matt Godbolt matt at godbolt.org
Wed Sep 10 12:04:37 PDT 2014


Hi all,

I've just tried building llvm 3.5.0 with GCC 4.9.0 and hit this error:

Error.cpp:28:44: error: declaration of ‘virtual const
char*{anonymous}::_object_error_category::name() const’ has a
different exception specifier
Error.cpp:23:15: error: from previous declaration ‘virtual const
char*{anonymous}::_object_error_category::name() const noexcept
(true)’

Is this a known issue, and if so, is there a workaround? I've not seen
anyone else report this issue so it does make me wonder if it's
something on my side somehow :)

I'm building my own GCC4.9.0 from source and using that; on Redhat
6.5, if that helps at all.

Thanks in advance for any help!

Matt

-- 
Matt Godbolt
GCC Explorer dev - http://gcc.godbolt.org




More information about the llvm-dev mailing list