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...@gmail.com> > A: dev@suckless.org > Cc: al...@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...@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 -