[RFC][PATCH v2] Initial support for C11 Annex K Bounds checking functions
Joseph S. Myers
joseph@codesourcery.com
Wed Jun 5 21:12:00 GMT 2013
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
More information about the Libc-alpha
mailing list