* David Malcolm: > I'm not quite sure what you mean by "non-error" and "non-anchored".
Sorry, I'm not familiar with the appropriate terminology. > By "non-error", do you mean that this should this be a warning? If so, > use warning_at. You can use 0 for the option_id whilst prototyping. > Or use "inform" to get a note. I meant that I want to attach something like a note to another error. There is just one error here (an ICE really, in case of PR116887). If it's okay I can call the error function without a location multiple times to provide the additional information. But the thing the alternative below seems more appropriate. > By "non-anchored", do you mean "not associated with any particular > source location"? If so, use error_at/warning_at and use > UNKNOWN_LOCATION for the location_t ("error" and "warning" implicitly > use the "input_location" global variable; it's usually best to instead > specify a location, or use UNKNOWN_LOCATION for "global" problems). Ahh, so use inform (UNKNOWN_LOCATION, …)? I see a couple of examples like that. I'll wait for further comments from Richi and repost. There are also some test cases that need adjusting. Thanks, Florian