Re: [dev] Re: st (development version) not compiling on gcc-4.9
I'm glad it was easily solved ;)
Lorenzo
----- Messaggio originale -----
Da: Xavier Fernández i Marín <xfim.ll_AT_gmail.com>
A: Lorenzo <snake332004_AT_yahoo.it>; dev_AT_suckless.org
Cc: "dev_AT_suckless.org" <dev_AT_suckless.org>
Inviato: Lunedì 22 Settembre 2014 10:09
Oggetto: Re: [dev] Re: st (development version) not compiling on gcc-4.9
Lorenzo vas escriure el dia dl, 22 set 2014:
> I have just cloned the repository and successfully compiled with gcc
> 4.9.1. The error says that "vtiden" is not declared; I have it in
> config.h, check if you have it or not... maybe it was added after the
> latest release...
Ok, yes, you are right, as well as Anthony was. The "vtiden" was lost in
one of the files. So it was absolutely my fault. Sorry.
> ________________________________
> Da: Xavier Fernández i Marín <xfim.ll_AT_gmail.com>
> A: dev_AT_suckless.org
> Cc: ality_AT_pbrane.org
> Inviato: Lunedì 22 Settembre 2014 9:50
> Oggetto: [dev] Re: st (development version) not compiling on gcc-4.9
>
>
> Anthony Martin vas escriure el dia dl, 22 set 2014:
>
> > Xavier Fernández i Marín <xfim.ll_AT_gmail.com> once said:
> > > I can compile st-0.5, but not the development version, on a Gentoo
> > > distribution running gcc-4.9.
> > >
> > > [...]
> > >
> > > st.c: In function ‘csihandle’:
> > > st.c:2522:12: error: ‘vtiden’ undeclared (first use in this function)
> > > ttywrite(vtiden, sizeof(vtiden) - 1);
> > >
> > > [...]
> > >
> > > Do you have any idea on what is wrong?
> >
> > Sounds like a stale config.h file. The Makefile is careful
> > not to destroy any local changes.
>
> Hum... thank you. But I don't think so, because I am using the same
> config.h file that I was using before, when st-development worked under
> gcc-4.7.
>
> So the full story is:
>
> + st-0.5 works with gcc-4.7 and gcc-4.9 (using the same config.h file for both)
>
> + st-development works with gcc-4.7, but not with gcc-4.9. (using the same config.h file for both, but different from st-0.5)
>
> Anyway, thank you Anthony. Any more clues?
>
>
>
>
> --
> - Xavier -
>
--
- Xavier -
Received on Mon Sep 22 2014 - 10:12:40 CEST
This archive was generated by hypermail 2.3.0
: Mon Sep 22 2014 - 10:24:07 CEST