This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC][PATCH v2] Initial support for C11 Annex K Bounds checking functions


On Wed, 5 Jun 2013, Joseph S. Myers wrote:

> I don't think it's appropriate to use __THROW on any function with runtime 
> constraints; it's reasonable for someone to set a runtime constraint 
> handler that throws C++ exceptions.

For the same reason, any source file that may end up calling a user's 
runtime constraint handler, directly or indirectly, needs to be built with 
the right options; put

CFLAGS-<file>.c = $(uses-callbacks)

in the relevant Makefile.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]