Skip to content

Commit b8e428d

Browse files
committed
Set the max line length to 200
The new versions of GNAT now correctly flag lines that are too long in the .ads files. For now, relax the maximum line length limitation. Fixes #2.
1 parent fad3817 commit b8e428d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gtkada_shared.gpr.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ project GtkAda_Shared is
6262
case Build is
6363
when "Debug" =>
6464
for Switches ("Ada") use
65-
("-gnatQ", "-gnatwae", "-gnatay", "-g", "-O0");
65+
("-gnatQ", "-gnatwae", "-gnatayM200", "-g", "-O0");
6666
for Switches ("C") use ("-g", "-O0", "-Wformat", "-Werror=format-security");
6767
when "Production" =>
6868
for Switches ("Ada") use
69-
("-gnatQ", "-O2", "-gnatn", "-gnatwa", "-gnaty");
69+
("-gnatQ", "-O2", "-gnatn", "-gnatwa", "-gnatyM200");
7070
for Switches ("C") use ("-O2", "-Wformat", "-Werror=format-security");
7171
end case;
7272

0 commit comments

Comments
 (0)