tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: g++ -pedantic on 6.0.1/amd64 fails to include xmmintrin.h

On Sat, Mar 09, 2013 at 10:56:43PM +0000, Christos Zoulas wrote:
> I understand the motivation, but this dirties the header files because an
> unfortunate language decision (why extern "C" requires an explicit "nothrow"
> instead of defaulting to "nothrow" and requiring "throws" instead?). Isn't
> there a better way?

Linking without name mangling and exceptions are orthogonal. However, I surely
agree that adding a __nothrow at the end of every function declaration is
unlikely to happen.

My question was: like with the visibility pragama, is there a way to
apply "nothrow" to a whole block of declarations?

Gcc documentation did not tell me, and I don't even want to start thinking
about clang compatibility.


Home | Main Index | Thread Index | Old Index