Cornelia Huck <[email protected]> writes: > On Thu, 12 Jul 2018 08:51:16 +0200 > Markus Armbruster <[email protected]> wrote: > >> Markus Armbruster <[email protected]> writes: >> >> > Kevin Wolf <[email protected]> writes: >> > >> >> I think the function should just take a message: >> >> >> >> /* Works like error_report(), except for the WARNING/ERROR prefix >> >> * and exit(1) if -no-deprecated-options is set */ >> >> void deprecation_report(const char *fmt, ...); >> > >> > I like it. The contract could use a bit of polish, but that's detail. >> >> Suggest --deprecated={silent,warn,error}, default silent. > > I like that, but I'd prefer to default to warn (so that command line > users have a better chance to notice it).
Fair enough.
