Re: [PATCH] lto: use diagnostics_context in print_lto_docs_link

2022-04-26 Thread Richard Biener via Gcc-patches
On Tue, Apr 26, 2022 at 12:41 PM Martin Liška wrote: > > Properly parse OPT_fdiagnostics_urls_ and then initialize both urls > and colors for global_dc. Doing that we would follow the configure > option --with-documentation-root-url, -fdiagnostics-urls is respected. > Plus we'll print colored warn

[PATCH] lto: use diagnostics_context in print_lto_docs_link

2022-04-26 Thread Martin Liška
Properly parse OPT_fdiagnostics_urls_ and then initialize both urls and colors for global_dc. Doing that we would follow the configure option --with-documentation-root-url, -fdiagnostics-urls is respected. Plus we'll print colored warning and note messages. Patch can bootstrap on x86_64-linux-gnu