Patrick Georgi has uploaded this change for review.

View Change

Ada: Enable the newest Ada standard + extensions supported by gnat

We're a bit in a bind here: The only way to declare an array containing
atomic or volatile members is to mark the member type atomic or
volatile as well.

The only way to mark a member type atomic or volatile seems to be to
use Ada202x.

Change-Id: If2f627bdf7f29ffdd4433b4ca608b2291ebe1551
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
---
M Makefile.inc
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/68/55168/1
diff --git a/Makefile.inc b/Makefile.inc
index eb505e5..fce53fa 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -435,7 +435,7 @@
endif
endif

-ADAFLAGS_common += -gnatp
+ADAFLAGS_common += -gnatp -gnatX
ADAFLAGS_common += -Wuninitialized -Wall -Werror
ADAFLAGS_common += -pipe -g -nostdinc
ADAFLAGS_common += -Wstrict-aliasing -Wshadow

To view, visit change 55168. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: If2f627bdf7f29ffdd4433b4ca608b2291ebe1551
Gerrit-Change-Number: 55168
Gerrit-PatchSet: 1
Gerrit-Owner: Patrick Georgi <pgeorgi@google.com>
Gerrit-MessageType: newchange