]> git.treefish.org Git - phys/latlib.git/blobdiff - o815/o815.cpp
disabled warnings for unknown command line options.
[phys/latlib.git] / o815 / o815.cpp
index f92d37f63cfeeb20c695927793f4863d4c1524b1..9b0fff81d3988f515a229e60c98159b7dc9b8f48 100644 (file)
@@ -4,6 +4,8 @@
 
 #include "latlib/progress.h"
 
 
 #include "latlib/progress.h"
 
+extern int opterr;
+
 o815::o815(int argc, char **argv, const string& _programid) {
   long timestamp;
 
 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;
   
 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':
   while( (opt = getopt(argc, argv, "L:N:S:E:o:O:c:C:w:i:j:")) != -1 )
     switch(opt) {
     case 'L':