Re: [Openocd-development] r1368 breaks non-Windows build

2009-02-10 Thread Dick Hollenbeck
> > Note that the first removal of BOOL usage was in r1367 and it was > rather incomplete. Thank goodness. Blessing in disguise, the booleans stayed. It compiles on linux now. > I'm not really happy that that occurred. r1368 was a quick hack to > get the compile working again, but clear

Re: [Openocd-development] r1368 breaks non-Windows build

2009-02-10 Thread Rick Altherr
On Feb 10, 2009, at 10:21 AM, Rick Altherr wrote: On Feb 10, 2009, at 9:22 AM, Dick Hollenbeck wrote: BOOL isn't defined in C. bool exists in C99 if you include . My interest was in getting the build working again, not making it pretty. If you want to use BOOL, make a patch that

Re: [Openocd-development] r1368 breaks non-Windows build

2009-02-10 Thread Rick Altherr
On Feb 10, 2009, at 9:22 AM, Dick Hollenbeck wrote: BOOL isn't defined in C. bool exists in C99 if you include . My interest was in getting the build working again, not making it pretty. If you want to use BOOL, make a patch that introduces the type correctly. I'm also OK with usi

Re: [Openocd-development] r1368 breaks non-Windows build

2009-02-10 Thread Dick Hollenbeck
> > > BOOL isn't defined in C. bool exists in C99 if you include > . My interest was in getting the build working again, not > making it pretty. If you want to use BOOL, make a patch that > introduces the type correctly. I'm also OK with using stdbool.h as it > is a standard. > See here:

Re: [Openocd-development] r1368 breaks non-Windows build

2009-02-10 Thread Rick Altherr
On Feb 10, 2009, at 8:24 AM, Dick Hollenbeck wrote: Rick Altherr wrote: On Feb 10, 2009, at 3:16 AM, Luke Dunstan wrote: Hi, On Linux: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/helper - I../../src/target -g -O0 -I/home/infidel/prefix/include -Wall - Wstrict-prototyp

Re: [Openocd-development] r1368 breaks non-Windows build

2009-02-10 Thread Dick Hollenbeck
Rick Altherr wrote: > > On Feb 10, 2009, at 3:16 AM, Luke Dunstan wrote: > >> >> Hi, >> >> On Linux: >> >> gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/helper >> -I../../src/target -g -O0 -I/home/infidel/prefix/include -Wall >> -Wstrict-prototypes -MT jtag.o -MD -MP -MF .deps/jta

Re: [Openocd-development] r1368 breaks non-Windows build

2009-02-10 Thread Rick Altherr
On Feb 10, 2009, at 3:16 AM, Luke Dunstan wrote: Hi, On Linux: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/helper - I../../src/target -g -O0 -I/home/infidel/prefix/include -Wall - Wstrict-prototypes -MT jtag.o -MD -MP -MF .deps/jtag.Tpo -c -o jtag.o jtag.c jtag.c: In f

[Openocd-development] r1368 breaks non-Windows build

2009-02-10 Thread Luke Dunstan
Hi, On Linux: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/helper -I../../src/target -g -O0 -I/home/infidel/prefix/include -Wall -Wstrict-prototypes -MT jtag.o -MD -MP -MF .deps/jtag.Tpo -c -o jtag.o jtag.c jtag.c: In function ‘jtag_add_pathmove’: jtag.c:960: error: ‘TRUE’ un