Re: wrong diagnostic hyperlink in 10.1.0?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2 Jun 2020 at 04:43, Xi Ruoyao <xry111@xxxxxxxxxxxxxxxx> 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@xxxxxxxxxxx> 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.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux