From: Jonathan Wakely <jwakely.gcc@gmail.com>
To: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: wrong diagnostic hyperlink in 10.1.0?
Date: Tue, 2 Jun 2020 07:14:08 +0100 [thread overview]
Message-ID: <CAH6eHdSEkp+hppfzttt5N55EcpmKY8cj_3BnoDDaEOywxjKkYA@mail.gmail.com> (raw)
In-Reply-To: <d48c865135c239c6fe33efa36713fccaa2c5999f.camel@mengyan1223.wang>
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.
prev parent reply other threads:[~2020-06-02 6:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-01 16:26 Xi Ruoyao
2020-06-01 19:07 ` Jonathan Wakely
2020-06-02 3:43 ` Xi Ruoyao
2020-06-02 6:14 ` Jonathan Wakely [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH6eHdSEkp+hppfzttt5N55EcpmKY8cj_3BnoDDaEOywxjKkYA@mail.gmail.com \
--to=jwakely.gcc@gmail.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).