Skip to content

Commit

Permalink
* Add warnings on secondary stack usage
Browse files Browse the repository at this point in the history
  • Loading branch information
yoogx committed Apr 12, 2018
1 parent 277b3ce commit a2e90c7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/gnat_runtime.adc
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
-- Ada restrictions to be supported by PolyORB-HI/Ada, for GNAT
-- Runtime targets, e.g. ARM driver libraries

--------------------------------------------------------------------------------
-- Warnings on constructs that rely on the secondary stack

pragma Restriction_Warnings (No_Secondary_Stack); -- 13.12 (2)

--------------------------------------------------------------------------------
-- Enforce Ravenscar profile.

Expand Down
5 changes: 5 additions & 0 deletions src/hi-e.adc
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
-- Ada restrictions to be supported by PolyORB-HI/Ada, for HI targets

--------------------------------------------------------------------------------
-- Warnings on constructs that rely on the secondary stack

pragma Restriction_Warnings (No_Secondary_Stack); -- 13.12 (2)

--------------------------------------------------------------------------------
-- Enforce Ravenscar profile.

Expand Down
6 changes: 5 additions & 1 deletion src/native.adc
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
-- Ada restrictions to be supported by PolyORB-HI/Ada, for NATIVE targets

pragma Restriction_Warnings (No_Secondary_Stack); -- 13.12 (2)
--------------------------------------------------------------------------------
-- Warnings on constructs that rely on the secondary stack

pragma Restriction_Warnings (No_Secondary_Stack); -- 13.12 (2)

--------------------------------------------------------------------------------
-- Enforce Ravenscar profile.
--
Expand Down

0 comments on commit a2e90c7

Please sign in to comment.