On May 21, 2009, at 11:05 AM, Øyvind Harboe wrote:

This patch makes it better and worse w/Cygwin.

svn head Cygwin build fails on xsvf.c without this patch.

pld.c fails w/this patch and builds fine w/svn head.

libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../../ openocd/src/pld -I../.. -I../../../openocd/src/server -I../../../openocd/src/helper - I../../../ openocd/src/jtag -g -O2 -Wall -Wstrict-prototypes -Wformat-security - Wextra -Wno -unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -MT pld.lo -MD -MP -MF .deps/pld.Tpo -c ../../../openocd/src/pld/pld.c - DDLL_EXPOR
T -DPIC -o .libs/pld.o
../../../openocd/src/pld/pld.c: In function `handle_pld_load_command':
../../../openocd/src/pld/pld.c:194: warning: int format, suseconds_t arg (arg 6)

make[3]: *** [pld.lo] Error 1

--
Øyvind Harboe
Embedded software and hardware consulting services
http://consulting.zylin.com


Hmm, I was afraid of that. the size of struct timeval's usec member is platform defined. Looks like we'll need to case it to some sufficiently large type.

--
Rick Altherr
kc8...@kc8apf.net

"He said he hadn't had a byte in three days. I had a short, so I split it with him."
 -- Unsigned



Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to