* 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
* Re: wrong diagnostic hyperlink in 10.1.0?
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
0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Wakely @ 2020-06-01 19:07 UTC (permalink / raw)
To: Xi Ruoyao; +Cc: gcc-help
On Mon, 1 Jun 2020 at 17:30, Xi Ruoyao via Gcc-help
<gcc-help@gcc.gnu.org> wrote:
>
> 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.
I don't think it's in bugzilla yet. Could you report it please? Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: wrong diagnostic hyperlink in 10.1.0?
2020-06-01 19:07 ` Jonathan Wakely
@ 2020-06-02 3:43 ` Xi Ruoyao
2020-06-02 6:14 ` Jonathan Wakely
0 siblings, 1 reply; 4+ messages in thread
From: Xi Ruoyao @ 2020-06-02 3:43 UTC (permalink / raw)
To: Jonathan Wakely; +Cc: gcc-help
On 2020-06-01 20:07 +0100, Jonathan Wakely wrote:
> On Mon, 1 Jun 2020 at 17:30, Xi Ruoyao via Gcc-help
> <gcc-help@gcc.gnu.org> wrote:
> > 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.
>
> I don't think it's in bugzilla yet. Could you report it please? Thanks.
It's reported as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95472.
--
Xi Ruoyao <xry111@mengyan1223.wang>
School of Aerospace Science and Technology, Xidian University
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: wrong diagnostic hyperlink in 10.1.0?
2020-06-02 3:43 ` Xi Ruoyao
@ 2020-06-02 6:14 ` Jonathan Wakely
0 siblings, 0 replies; 4+ messages in thread
From: Jonathan Wakely @ 2020-06-02 6:14 UTC (permalink / raw)
To: gcc-help
On Tue, 2 Jun 2020 at 04:43, Xi Ruoyao <xry111@mengyan1223.wang> wrote:
>
> On 2020-06-01 20:07 +0100, Jonathan Wakely wrote:
> > On Mon, 1 Jun 2020 at 17:30, Xi Ruoyao via Gcc-help
> > <gcc-help@gcc.gnu.org> wrote:
> > > 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.
> >
> > I don't think it's in bugzilla yet. Could you report it please? Thanks.
>
> It's reported as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95472.
Great, thanks.
^ 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).