Skip to content

Commit 10736cc

Browse files
committed
Move line length check from GPR file to alire.toml
Signed-off-by: onox <denkpadje@gmail.com>
1 parent 6ab7705 commit 10736cc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

alire.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ libopus = "^1.3.1"
1414

1515
[build-switches]
1616
validation.compile_checks = "warnings"
17-
"*".style_checks = ["-gnatygAO-Is"]
17+
"*".style_checks = ["-gnatygAOM99-Is"]

opus_ada.gpr

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ project Opus_Ada is
1717
for Library_Kind use Library_Type;
1818

1919
package Compiler is
20-
for Default_Switches ("Ada") use Opus_Ada_Config.Ada_Compiler_Switches & ("-gnatyM99");
20+
for Default_Switches ("Ada") use Opus_Ada_Config.Ada_Compiler_Switches;
2121
for Local_Configuration_Pragmas use "gnat.adc";
2222
end Compiler;
2323

tests/alire.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ opus_ada = { path = "../" }
1919

2020
[build-switches]
2121
validation.compile_checks = "warnings"
22-
"*".style_checks = ["-gnatygAO-Is"]
22+
"*".style_checks = ["-gnatygAOM99-Is"]

tests/opus_ada_tests.gpr

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ project Opus_Ada_Tests is
1414

1515
package Compiler is
1616
for Default_Switches ("Ada") use Opus_Ada_Tests_Config.Ada_Compiler_Switches &
17-
("-gnatyM99", "--coverage");
17+
("--coverage");
1818
for Local_Configuration_Pragmas use "gnat.adc";
1919
end Compiler;
2020

0 commit comments

Comments
 (0)