[C++ Patch] PR 44516

Jason Merrill jason@redhat.com
Tue May 22 15:43:00 GMT 2012


On 05/22/2012 08:22 AM, Paolo Carlini wrote:
> Ok, thanks. Today I wanted to concretely test and post a patch but I
> noticed this other objc bit in objc-next-runtime-abi-01.c which I don't
> know how to handle due to the OPT_Wall gate:
>
> warning_at (UNKNOWN_LOCATION, OPT_Wall,
> "%<-fobjc-sjlj-exceptions%> is the only supported exceptions "
> "system for %<-fnext-runtime%> with %<-fobjc-abi-version%> < 2");
>
> If the objc maintainers could help with those uses of warning_at (0 in
> the objc tree, I have a patch ready for the asserts proper.

What if we just changed UNKNOWN_LOCATION to BUILTINS_LOCATION for these 
diagnostics?

Jason



More information about the Gcc-patches mailing list