From 8d72de994e26b4cf922ca0e9ab5e652984e3871e Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Tue, 7 Sep 2021 18:17:46 +0200 Subject: options.adb: -Werror now applies on unclassified warnings. --- src/options.adb | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/options.adb b/src/options.adb index 3191cd575..265b4614a 100644 --- a/src/options.adb +++ b/src/options.adb @@ -66,6 +66,7 @@ package body Options is begin -- Handle -Werror. if Opt = "error" then + Warning_Error (Msgid_Warning, Val); for I in Msgid_Warnings loop Warning_Error (I, Val); end loop; -- cgit v1.2.3