On 09/07/2013 06:13 AM, Paolo Carlini wrote:
Actually this kind of change makes a lot of sense to me (cmp clang too): since at that point we do *not* really know the location of the "required from" bit, just plainly admit it. Would it be possible in such cases to have a conditional in the diagnostic machinery and avoid the output of that bit completely when the location is UNKNOWN? I don't think there are existing cases where it's sane to say :0:0 as "required from"!?!
That does make sense. We should disable "required from" for UNKNOWN_LOCATION.
Jason