From: Alex Schmidt Date: Tue, 21 May 2013 13:20:10 +0000 (+0200) Subject: disabled warnings for unknown command line options. X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/commitdiff_plain/7ba7584af501689c899b1b311286140d88e23b25 disabled warnings for unknown command line options. --- diff --git a/o815/o815.cpp b/o815/o815.cpp index f92d37f..9b0fff8 100644 --- a/o815/o815.cpp +++ b/o815/o815.cpp @@ -4,6 +4,8 @@ #include "latlib/progress.h" +extern int opterr; + o815::o815(int argc, char **argv, const string& _programid) { long timestamp; @@ -98,6 +100,8 @@ void o815::mainLoop() { void o815::parseArgs(int argc, char **argv) { int opt = 0; + opterr = 0; + while( (opt = getopt(argc, argv, "L:N:S:E:o:O:c:C:w:i:j:")) != -1 ) switch(opt) { case 'L':