[dev] Re: st (development version) not compiling on gcc-4.9

From: Xavier Fernández i Marín <xfim.ll_AT_gmail.com>
Date: Mon, 22 Sep 2014 09:50:49 +0200

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  -
Received on Mon Sep 22 2014 - 09:50:49 CEST

This archive was generated by hypermail 2.3.0 : Mon Sep 22 2014 - 10:00:10 CEST