aboutsummaryrefslogtreecommitdiffstats
path: root/src/options.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2018-09-23 07:17:45 +0200
committerTristan Gingold <tgingold@free.fr>2018-09-23 07:17:45 +0200
commit2ac3808f465ec736a1359d35426fb49c1dfe58dd (patch)
tree98be804fe181be016dd6587403be0b2fff27b10c /src/options.adb
parent5fb9fbc5a3244ea45db141e59cdccb9a3e000fdc (diff)
downloadghdl-2ac3808f465ec736a1359d35426fb49c1dfe58dd.tar.gz
ghdl-2ac3808f465ec736a1359d35426fb49c1dfe58dd.tar.bz2
ghdl-2ac3808f465ec736a1359d35426fb49c1dfe58dd.zip
Add -Wothers warning.
Diffstat (limited to 'src/options.adb')
-rw-r--r--src/options.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.adb b/src/options.adb
index 43f68bbb5..f200d1c71 100644
--- a/src/options.adb
+++ b/src/options.adb
@@ -112,7 +112,7 @@ package body Options is
elsif Opt'Length > 7 and then Opt (1 .. 7) = "--warn-" then
return Option_Warning (Opt (8 .. Opt'Last), True);
elsif Opt'Length > 5 and then Opt (1 .. 5) = "-Wno-" then
- -- Handle -Wno before -W!
+ -- Handle -Wno-xxx before -Wxxx
return Option_Warning (Opt (6 .. Opt'Last), False);
elsif Opt'Length > 2 and then Opt (1 .. 2) = "-W" then
return Option_Warning (Opt (3 .. Opt'Last), True);