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

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



Hi,

On 5/26/10, Robert Spanton <rspanton@xxxxxxxxxx> 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.  Please find
> three patches that transition PCB over to using the c99 bool in the
> following directory: http://srobo.org/~rspanton/geda/pcb-bools/

What are the advantages? is current implementation broken for some platform,
modern or future?

> The PCB build scripts tell the compiler to use the 'gnu99' standard (C99
> with GNU extensions)

I believe it does not in general case, and current sources do build with
c89 compilers as far as I know.

Kind regards,
Ineiev


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