public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* wrong diagnostic hyperlink in 10.1.0?
@ 2020-06-01 16:26 Xi Ruoyao
  2020-06-01 19:07 ` Jonathan Wakely
  0 siblings, 1 reply; 4+ messages in thread
From: Xi Ruoyao @ 2020-06-01 16:26 UTC (permalink / raw)
  To: gcc-help

Let's try a stupid code snip:

$ cat t1.c
int main()
{
	int x;
	return x;
}
$ gcc t1.c -Wall
t1.c: In function 'main':
t1.c:4:9: warning: 'x' is used uninitialized in this function [-Wuninitialized]
    4 |  return x;
      |         ^

It looks OK, but in GCC-10 we have diagnostics with hyperlink.  If you click "-
Wuninitialized" you'll be diverted to gfortran doc:

https://gcc.gnu.org/onlinedocs/gfortran/Error-and-Warning-Options.html#index-Wuninitialized

Is this issue reported?  I tried to search in bugzilla but didn't find one.
-- 
Xi Ruoyao <xry111@mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-06-02  6:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-01 16:26 wrong diagnostic hyperlink in 10.1.0? Xi Ruoyao
2020-06-01 19:07 ` Jonathan Wakely
2020-06-02  3:43   ` Xi Ruoyao
2020-06-02  6:14     ` Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).