You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
package Compiler is
for Default_Switches ("ada") use
("-gnat12", "-gnatwa", "-gnatwl", "-gnata", "-gnaty3abcefhiklmNprt", "-fstack-check");
case Mode is
when "debug" =>
for Default_Switches ("ada") use Compiler'Default_Switches ("ada") &
("-gnata", "-gnateE", "-E", "-g");
when "release" =>
for Default_Switches ("ada") use
("-O3" );
end case;
end Compiler;
package Compiler is
case Mode is
when "debug" =>
for Default_Switches ("ada") use
("-gnat12", "-gnatwa", "-gnatwl", "-gnata", "-gnaty3abcefhiklmNprt", "-fstack-check") &
("-gnata", "-gnateE", "-E", "-g");
when "release" =>
for Default_Switches ("ada") use
("-O3" );
end case;
end Compiler;
Thanks in advance for your explanation.
The text was updated successfully, but these errors were encountered:
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 :).
In yaml.gpr I read
Why does the release alternative on
AdaYaml/yaml.gpr
Line 40 in b972e88
not contain
Compiler'Default_Switches ("ada") &
?If it is done on purpose, why isn't it written as
Thanks in advance for your explanation.
The text was updated successfully, but these errors were encountered: