[fpc-devel] Semicolon before else

Daniël Mantione daniel.mantione at freepascal.org
Fri Jan 29 15:16:38 CET 2010



Op Fri, 29 Jan 2010, schreef Jonas Maebe:

> GCC supports several different C standards (K&R, C89, C99, ...), G++ 
> supports different C++ standards, ... And as far as I know, you can also 
> combine compiled source files written in different language variants in 
> the same final binary.

Here you do not do justice to your own technology. GCC can indeed support 
several different standards, but mixing them is complicated because header 
files need to have syntax compatible with the current selected standard. 
Further, the coupling is only achieved at the linker stage, which means 
both dialects must produce 100% binary interoperable code, while FPC fully 
understands differences at the compiler stage, i.e. in a mode where 
"integer" is 32-bit, it will perfectly work with datastructues defined in 
a mode where "integer" is 16-bit.

Daniël


More information about the fpc-devel mailing list