[hackers] [scc] [driver] Parse -Wfoo as -w || Quentin Rameau

From: <git_AT_suckless.org>
Date: Tue, 14 Feb 2017 17:08:45 +0100 (CET)

commit ac8455c287b0178649255acd37a63e938ef36d75
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Tue Feb 14 16:38:54 2017 +0100
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Tue Feb 14 17:08:32 2017 +0100

    [driver] Parse -Wfoo as -w

diff --git a/driver/posix/scc.c b/driver/posix/scc.c
index 8cff8b1..81c4fb6 100644
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
_AT_@ -476,6 +476,8 @@ main(int argc, char *argv[])
         case 's':
                 sflag = 1;
                 break;
+ case 'W':
+ EARGF(usage());
         case 'w':
                 addarg(CC1, "-w");
                 break;
Received on Tue Feb 14 2017 - 17:08:45 CET

This archive was generated by hypermail 2.3.0 : Tue Feb 14 2017 - 17:12:23 CET