On 09 Oct 2009, at 19:57, Paul Davidson wrote:
Using OS X 10.6.1, FPC 2.2.4, Xcode 3.2 on intel iMac.
The program and units all have {$I Directives.inc} at top of each
file. Compile lists many errors like:
6: Mode switch "OBJFPC" not allowed here
Any hints?
This is unrelated to Mac OS X.
A modeswitch must occur before any code is parsed. In practice this
means right above or below the "unit" statement. Older versions of FPC
(2.2.0?) were more lenient in checking this.
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal