! 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 !
'environ' undeclared in plugins/launcher/launcher-exec.c
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
Launcher

Comments

Description David Gustafsson 2009-01-02 19:53:41 CET
Compilation fails with the following error message:
launcher-exec.c: In function 'launcher_exec_on_screen':
launcher-exec.c:456: error: 'environ' undeclared (first use in this function)
launcher-exec.c:456: error: (Each undeclared identifier is reported only once
launcher-exec.c:456: error: for each function it appears in.)

Glibc defines the variable 'environ' within an ifdef statement in unistd.h as shown below:

#ifdef __USE_GNU
extern char **environ;
#endif
Comment 1 Nick Schermer editbugs 2009-01-02 20:40:04 CET
Should be fixed in revision 29085.

Bug #4765

Reported by:
David Gustafsson
Reported on: 2009-01-02
Last modified on: 2010-02-27

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
4.7 (master)

Attachments

Additional information