On 01/03/2010 04:13, David Brownell wrote:
A test build (cygwin, as it happened) after your latest commits gives me:


gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -g -O2 -Wall 
-Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter 
-Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -MT 
arm_semihosting.lo -MD -MP -MF .deps/arm_semihosting.Tpo -c arm_semihosting.c 
-o arm_semihosting.o
cc1: warnings being treated as errors
arm_semihosting.c: In function ‘do_semihosting’:
arm_semihosting.c:71: error: ‘spsr’ may be used uninitialized in this function
arm_semihosting.c:71: error: ‘lr’ may be used uninitialized in this function
make[5]: *** [arm_semihosting.lo] Error 1

Didn't track it down.  CM3 has no SPSR of course.  And I'm not
clear on why access to LR should care about specifying some mode
explicitly ... instead of just using the currnt LR.


Ah ok, it could be because i mainly test with cygwin 3.4.4.

cygwin 4 does not support the no-cygwin option anymore, so cannot currently produce native win32 binaries.

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

Reply via email to