[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: PCB Patches: Use c99 bool instead of manual typedef.



I wrote:
> I started working on stuff in the PCB source, and found that it uses a
> typedef called 'Boolean' rather than the c99 bool type.

Dave McGuire wrote:
> Does this have any implications for building with compilers other
> than GCC?

If they're not C99 compatible, yes.  However, if this does actually come
up as an issue then I suggest we conditionally enable the typedef using
the autoconf AC_HEADER_STDBOOL macro and some cpp guff [1]. 

Is anyone actually compiling this thing with a compiler that isn't C99
compatible!?

timecop wrote:
> Anything not supporting c99 in 2010 shouldnt be used anyway.

Agreed!

Rob

[1] See this page:
http://www.gnu.org/software/hello/manual/autoconf/Particular-Headers.html

Attachment: signature.asc
Description: This is a digitally signed message part


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user