Open pjljvandelaar opened 2 years ago
In addition: why is the flag "-gnata" that is already present in
for Default_Switches ("ada") use
("-gnat12", "-gnatwa", "-gnatwl", "-gnata", "-gnaty3abcefhiklmNprt", "-fstack-check");
added again in the debug mode
when "debug" =>
for Default_Switches ("ada") use Compiler'Default_Switches ("ada") &
("-gnata", "-gnateE", "-E", "-g");
In addition, why is -E offered to the compiler while it is an option of the Binder?
The answer to these questions is that I was sloppy when reviewing #12 and let this slip because it worked. You're welcome to make a PR improving this :).
To continue with flyx view on life, it was sloppy review before the pull request since the project-files wasn't the prioritized.
In yaml.gpr I read
Why does the release alternative on https://github.com/yaml/AdaYaml/blob/b972e88f66fc664dd77c91cf230bbb8f2d0e2ece/yaml.gpr#L40 not contain
Compiler'Default_Switches ("ada") &
?If it is done on purpose, why isn't it written as
Thanks in advance for your explanation.