Nope. No switches like that anywhere in my code. The codebase was built with heavy use of assertions; there's no reason to explicitly turn them off.
I use assertions too and haven't noticed any problem, but that doesn't mean it isn't broken.
Here's some things to try:
- Look at the .compiled file and see if the -Sa switch is included.
- You can also compile from the command line with FPC or LazBuild and see if that makes any difference. You can also use the -va switch with FPC to see absolutely everything that FPC is doing. That might help in tracking down the problem. Example:
fpc -va myprog.pas >listing.txt
- Can you create a small example that illustrates the problem?
Thanks.
-Phil