It builds with normal build options, but fails with -O3:

CFLAGS="-O3" ./configure --enable-dummy
make clean
make -s
=>

libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..
-I../../src -I../../src -DPKGDATADIR=\"/usr/local/share/openocd\"
-I../../jimtcl -I../../jimtcl -O3 -Wall -Wstrict-prototypes
-Wformat-security -Wshadow -Wextra -Wno-unused-parameter
-Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -MT core.lo
-MD -MP -MF .deps/core.Tpo -c core.c -o core.o
cc1: warnings being treated as errors
core.c: In function ‘jtag_get_speed_readable’:
core.c:1675:6: error: ‘jtag_speed_var’ may be used uninitialized in
this function

-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to