I just upgraded my SuSE Linux distribution from 6.4 to 7.0 and discovered
that glade from CVS no longer compiles. The error message is below:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../intl -I/opt/gnome/include -
DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include -I/usr/lib/glib/inc
lude -I/usr/X11R6/include -pipe -O2 -m486 -fno-strength-reduce -Wall -c
glade_clipboard.c
glade_clipboard.c: In function `glade_clipboard_paste':
glade_clipboard.c:461: too few arguments to function `setenv'
make[3]: *** [glade_clipboard.o] Error 1
make[3]: Leaving directory `/usr/src/packages/BUILD/glade-0.5.11/glade'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/packages/BUILD/glade-0.5.11/glade'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/glade-0.5.11'
make: *** [all-recursive-am] Error 2
The following is the setenv man page from SuSE 7.0:
SETENV(3) Linux Programmer's Manual SETENV(3)
NAME
setenv - change or add an environment variable
SYNOPSIS
#include <stdlib.h>
int setenv(const char *name, const char *value, int overwrite);
void unsetenv(const char *name);
DESCRIPTION
The setenv() function adds the variable name to the envi�
ronment with the value value, if name does not already
exist. If name does exist in the environment, then its
value is changed to value if overwrite is non-zero; if
overwrite is zero, then the value of name is not changed.
The unsetenv() function deletes the variable name from the
environment.
RETURN VALUE
The setenv() function returns zero on success, or -1 if
there was insufficient space in the environment.
CONFORMING TO
BSD 4.3
SEE ALSO
getenv(3), putenv(3), environ(5)
--
John Ross Hunt
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
_______________________________________________
Glade-devel maillist - [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/glade-devel