[fpc-devel]Delphi incompatibility again!
jonas at zeus.rug.ac.be
Mon Apr 2 16:39:44 CEST 2001
On Mon, 2 Apr 2001, Marco van de Voort wrote:
> > C has no boolean type. And C++'s bool is just a dirty hack (implicit type
> > casting between int and bool is perfectly possible).
> I know. But I thought those types were to declare C's short,-,long bool as
> Therefore they have the same values. Why would you otherwise need those
> types at all?
I don't know, but my g++ has never heard of byte-, word- or longbool at
least (or bool8/bool16/bool32). And the normal bool does use 1 for true
and 0 for false.
More information about the fpc-devel