NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/49990: libc++ fails to build with g++ 5.1 due to the following types of errors:
The following reply was made to PR lib/49990; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: lib/49990: libc++ fails to build with g++ 5.1 due to the
following types of errors:
Date: Tue, 23 Jun 2015 12:32:32 +0200
On Sat, Jun 20, 2015 at 11:15:00PM +0000, drakain%gmail.com@localhost wrote:
> --- rt_exception.o ---
> rt_exception.cc:679:43: error: declaration of 'void* __cxa_begin_catch(void*)' has a different exception specifier
> extern "C" void *__cxa_begin_catch(void *e);
> ^
> rt_exception.cc:608:9: error: from previous declaration 'void* __cxa_begin_catch(void*) throw ()'
> catch(...)
Frankly, this smells like a GCC bug. It should not force exception
specifiers onto us, especially as adding them results in a runtime
penalty.
Joerg
Home |
Main Index |
Thread Index |
Old Index