On Tue, 2009-05-05 at 23:27 -0700, Zach Welch wrote:
> 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.

With r1610, this issue should be resolved once and for all.

--Z
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to