aboutsummaryrefslogtreecommitdiffstats
path: root/src/options.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2022-07-28 18:15:55 +0200
committerTristan Gingold <tgingold@free.fr>2022-07-28 18:15:55 +0200
commit4940892fad6e64b207fc15d9600736c7f3e42b7d (patch)
treea8952e701be15c10645345dee6b7fc76076db5f7 /src/options.adb
parentcad4cf95a10bcafcbdaf134f62ee4007d4e5698e (diff)
downloadghdl-4940892fad6e64b207fc15d9600736c7f3e42b7d.tar.gz
ghdl-4940892fad6e64b207fc15d9600736c7f3e42b7d.tar.bz2
ghdl-4940892fad6e64b207fc15d9600736c7f3e42b7d.zip
options.adb: -Werror=X enables warning X.
Diffstat (limited to 'src/options.adb')
-rw-r--r--src/options.adb1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/options.adb b/src/options.adb
index 019817ca3..0bff712b9 100644
--- a/src/options.adb
+++ b/src/options.adb
@@ -83,6 +83,7 @@ package body Options is
then
for I in Msgid_Warnings loop
if Warning_Image (I) = Opt (Opt'First + 6 .. Opt'Last) then
+ Enable_Warning (I, True);
Warning_Error (I, Val);
return Option_Ok;
end if;