I was recently forced to replace Mountain Lion on my Mac with El Capitan. Before that, I was writing and compiling fpc programs in Lazarus and running them, all with little trouble. Now, when I try to compile, a message like this always comes up in the messages window,
pastry.lpr(10,3)Fatal: There were 1 errors compiling module, stopping
and the line of code in question (10 in this case) is painted orange. I have tried compiling several programs that compiled with no problem in the past. There is always the Fatal message and the orange stripe. In one case, I got the stripe to move from one command to another by resequencing commands in my code.