Message ID | 20171109102722.GA22719@adacore.com |
---|---|
State | New |
Headers | show |
Series | [Ada] pragma Warnings (Off) disabled if warning treated as error | expand |
Index: gnat1drv.adb =================================================================== --- gnat1drv.adb (revision 254563) +++ gnat1drv.adb (working copy) @@ -1180,6 +1180,7 @@ if Compilation_Errors then Treepr.Tree_Dump; Post_Compilation_Validation_Checks; + Errout.Finalize (Last_Call => True); Errout.Output_Messages; Namet.Finalize; @@ -1190,7 +1191,6 @@ Tree_Gen; end if; - Errout.Finalize (Last_Call => True); Exit_Program (E_Errors); end if;