On Wed, 2009-05-06 at 08:17 +0200, Øyvind Harboe wrote: > Looks like more fun with the code below in jim.c... > > #if !defined(HAVE_UNISTD_H) || !defined(__GNU_LIBRARY__) > extern char **environ; > #endif > > > ../../../openocd/src/helper/jim.c: In function `Jim_EnvCoreCommand': > ../../../openocd/src/helper/jim.c:11988: warning: redundant > redeclaration of 'environ' > /usr/include/sys/unistd.h:15: warning: previous declaration of > 'environ' was here >
I have a configure test almost done that will address this portably. Cheers, Zach _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development