Re: Suggestion for improving an error message

2024-04-06 Thread Reuben Thomas via Bug reports for autoconf
On Sat, 6 Apr 2024 at 22:05, Paul Eggert wrote: > Thanks for the suggestion. Although I didn't go to the trouble of > writing code to generate the multiline diagnostic you suggested, it's > easy to change "possibly undefined macro" (which doesn't cover the > situation you mentioned) to the slight

Re: Suggestion for improving an error message

2024-04-06 Thread Paul Eggert
Thanks for the suggestion. Although I didn't go to the trouble of writing code to generate the multiline diagnostic you suggested, it's easy to change "possibly undefined macro" (which doesn't cover the situation you mentioned) to the slightly less confusing "undefined or overquoted macro". Sin

Suggestion for improving an error message

2024-04-06 Thread Reuben Thomas via Bug reports for autoconf
Last night I had the baffling error "possibly undefined macro: AC_MSG_WARN". Surely "impossibly undefined macro"! Anyway, I was led to the following excellent analysis of the problem: https://ae1020.github.io/undefined-macro-pkg-config/ In my case, I was briefly baffled even further, as I *had* i