Skip to content

Commit

Permalink
Alire.Utils.Switches: Disable No_Exception_Propagation warning
Browse files Browse the repository at this point in the history
Add this was always added to the init crates and is very useful for
embedded project based on run-times without exception propagation.
  • Loading branch information
Fabien-Chouteau committed May 25, 2022
1 parent 851885c commit 5e175d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/alire/alire-utils-switches.adb
Expand Up @@ -129,9 +129,11 @@ package body Alire.Utils.Switches is
when None => Empty_List,
when Warnings => Empty_List
.Append (GNAT_All_Warnings)
.Append (GNAT_Disable_Warn_No_Exception_Propagation)
.Append (GNAT_All_Validity_Checks),
when Errors => Empty_List
.Append (GNAT_All_Warnings)
.Append (GNAT_Disable_Warn_No_Exception_Propagation)
.Append (GNAT_All_Validity_Checks)
.Append (GNAT_Warnings_As_Errors),
when Custom => S.List);
Expand Down

0 comments on commit 5e175d7

Please sign in to comment.