|
From: Michael B. <mb...@di...> - 2008-02-29 15:44:37
|
Uwe Hermann wrote: > On Fri, Feb 29, 2008 at 02:07:07PM +0100, Øyvind Harboe wrote: >>> > Some clear guidelines on *sensible* use of C/C++ that >>> > still allows for embedded implementations(ARM7 type CPUs w/plenty >>> > RAM) + a plan that isn't disruptive backed by the willing and >>> > ableness to do the work gets my blessing. >>> >>> Just switching to the C++ compiler without re-programming would be a >>> start. (The function pointer initialization would need to be converted >>> back to standard language as the extension is not available in G++). >>> That would allow some gradual transition of individual bits of code. >> I think the community will scream murder if we try to slip in C++ here... > > Murder!!!1 > > Seriously though, please stick with ANSI C. > > > Thanks, Uwe. ISO C99 allows for bool. ANSI C on the other hand would not compile a single file of this project: make clean; make CFLAGS+=-ansi CFLAGS+=-pedantic Michael |