Indeed, if remove "-Sc" from "fpc.cfg", the build fails.
However, the main oddity is that the "C style operators" option is checked in the "lazarus.lpi" project settings, so I expected it to work. Apparently, these options are ignored by the IDE itself and are only applied via the "Tools >?Configure Build Lazarus" window.
I checked, and C-style operators are used in many places throughout the IDE code (project,?not packages). In some instances, replacing them with standard operators would indeed make the code harder to read.?One option would be to add a directive to the code for those units, but even then, there would be a dozen or two of them.?Therefore, it is better to enable the option at the project level.
Show quoted text 5 lines
That's because it assumes -Sc and -Sc is nowhere set in my environment.
I added it to the options of 'build lazarus' and then it works, but I
think
this needs to be added somewhere so the user does not need to add it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20260924/75765bec/attachment.htm>