[fpc-pascal] H2pas tool vs others, C header translation

noreply at z505.com noreply at z505.com
Sat Aug 26 07:00:41 CEST 2017


What about the BOOL issue..

We know that Boolean in fpc/delphi is not compatible with a C bool

But it gets worse than that: even fpc/delphi's bool is not always 
compatible (but is sometimes).

For example:
http://blog.delphi-jedi.net/2008/09/25/bool-boolean-and-integer/

When one must use Integers to do boolean related programming tasks, it 
makes me want to quit programming ;)




More information about the fpc-pascal mailing list