diff options
-rw-r--r-- | mcopidl/mcopidl.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mcopidl/mcopidl.cc b/mcopidl/mcopidl.cc index 6536e3d..a349bdf 100644 --- a/mcopidl/mcopidl.cc +++ b/mcopidl/mcopidl.cc @@ -2552,7 +2552,7 @@ int main(int argc, char **argv) */ int c; bool makeTypeInfo = false; - while((c = getopt(argc, argv, "I:P:C:te:")) != -1) + while((c = getopt(argc, argv, "I:P:C:te:includ")) != -1) { switch(c) { @@ -2566,6 +2566,12 @@ int main(int argc, char **argv) break; case 'e': includedNames.push_back(optarg); break; + case 'i': break; // Ignore gcc's -include <header.h> option + case 'n': break; // Ignore gcc's -include <header.h> option + case 'c': break; // Ignore gcc's -include <header.h> option + case 'l': break; // Ignore gcc's -include <header.h> option + case 'u': break; // Ignore gcc's -include <header.h> option + case 'd': break; // Ignore gcc's -include <header.h> option default: exit_usage(argv[0]); break; } |