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

From: Lorenzo <snake332004_AT_yahoo.it>
Date: Mon, 22 Sep 2014 08:58:31 +0100

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... ________________________________ 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 -
Received on Mon Sep 22 2014 - 09:58:31 CEST

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