-
Notifications
You must be signed in to change notification settings - Fork 8
/
ada_2005.gpr
26 lines (23 loc) · 1.13 KB
/
ada_2005.gpr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
-- O mighty Emacs, please use -*- Ada -*- mode in this lowly file.
abstract project Ada_2005 is
for Source_Dirs use ();
package Builder is
for Default_Switches ("Ada")
use ("-m");
end Builder;
package Compiler is
for Default_Switches ("Ada")
use ("-fstack-check", -- Generate stack checking code (part of Ada)
"-gnata", -- Enable assertions (part of Ada)
"-gnato", -- Overflow checking (part of Ada)
"-gnatf", -- Full, verbose error messages
"-gnatwa", -- All optional warnings
"-gnatVa", -- All validity checks
"-gnaty3abcdefhiklmnoOprstux", -- Style checks
-- "-gnatwe", -- Treat warnings as errors
-- "-gnatwl", -- Elaboration warnings
"-gnat2005", -- Use Ada 2005
"-Wall", -- All GCC warnings
"-O2"); -- Optimise (level 2/3)
end Compiler;
end Ada_2005;