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 option + case 'n': break; // Ignore gcc's -include option + case 'c': break; // Ignore gcc's -include option + case 'l': break; // Ignore gcc's -include option + case 'u': break; // Ignore gcc's -include option + case 'd': break; // Ignore gcc's -include option default: exit_usage(argv[0]); break; }