Next: , Previous: Endianness assumptions, Up: BP Incompatibilities

7.2.12 - -borland-pascal - disable GPC extensions

GPC warns about some BP constructs which are especially “dirty”, like misusing typed constants as initialized variables. GPC also supports some features that may conflict with BP code, like macros. The command line option --borland-pascal disables both, so you might want to use it for a first attempt to compile your BP code under GPC. However, we suggest you try compiling without this switch and fixing any resulting problems as soon as you've become acquainted with GPC.