[fpc-pascal] Language mode, assembler style

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Aug 25 12:10:38 CEST 2012

On 25 Aug 2012, at 12:00, Rainer Stratmann wrote:

> Why is -Mfpc the default language style?

For backward compatibility.

> Why does -Mobjfpc overwrite the assember style?

Language modes set all language-related switches to the default for that mode, so that it is possible to e.g. add {$mode objfpc} at the top of a unit and be sure that it will compile for anyone regardless of how their fpc.cfg looks like or what switches they specified on the command line.


More information about the fpc-pascal mailing list