! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
declaration of 'index' shadows a global declaration error
Status:
RESOLVED: FIXED
Product:
Xfce4-mixer
Component:
General

Comments

Description Cristian Marchi 2012-10-13 20:22:48 CEST
I get this error when running "make" after an error free "configure" of xfce4-mixer from git.

libxfce4mixer.c: In function '_xfce_mixer_add_track_labels':
libxfce4mixer.c:463:18: error: declaration of 'index' shadows a global declaration [-Werror=shadow]
cc1: all warnings being treated as errors
make[2]: *** [libxfce4mixer_la-libxfce4mixer.lo] Errore 1
make[2]: uscita dalla directory "/home/prova/Xfce/xfce4-mixer/libxfce4mixer"
make[1]: *** [all-recursive] Errore 1
make[1]: uscita dalla directory "/home/prova/Xfce/xfce4-mixer"
make: *** [all] Errore 2
Comment 1 Cristian Marchi 2012-10-13 20:25:43 CEST
Forgot to tell my system: I'm under xubuntu 12.04 32bit with all Xfce core components compiled from latest git.
Comment 2 Guido Berhoerster 2012-10-27 18:55:49 CEST
Fixed with commit f69b93cd4d4ce70366b9096486ba79c15993e16e.

Bug #9374

Reported by:
Cristian Marchi
Reported on: 2012-10-13
Last modified on: 2012-10-27

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Version:
Unspecified

Attachments

Additional information