On Sat, 2009-05-16 at 21:10 +0200, Øyvind Harboe wrote: > On Sat, May 16, 2009 at 8:42 PM, Zach Welch <z...@superlucidity.net> wrote: > > On Sat, 2009-05-16 at 14:37 +0200, Øyvind Harboe wrote: > >> Hmmm.... I love true & false as much as the next guy + I'd even like to > >> see some restrained usage of C++ instead of all the ad hoc constructs > >> in C that mimic object oriented features... > >> > >> I think it would be wrong of me to commit this unless there is somebody > >> else that speaks up for it too.... > >> > > > > The bool type comes from stdbool.h and is part of C99. I think his > > patch is an improvement to the code. > > Good enough for me. I'm not quite up to speed on what's > C99 and what's not. > > I take it GCC is used to build on Windows so we don't have > to worry, overly much, about Visual C++ oddities w/C.
If nothing else, types.h now has very robust replacement for bool too. Cheers, Zach _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development