simon qian wrote: > Another feedback about compile warnings: > > In file included from ../../src/helper/command.h:35, > from configuration.h:26, > from options.c:27: > ../../src/helper/jim.h:812: warning: declaration of 'index' shadows a global > declaration > /usr/include/string.h:304: warning: shadowed declaration is here
Is this on Cygwin by any chance? A fix is to #define __STRICT_ANSI__ before #include <string.h> so that the string header no longer defines an index() function. Another fix is to just rename the index variable in jim.h. //Peter _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development