From 0012acab27e855ae820b4dc55cc294908db53f82 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 26 Jul 2010 19:20:59 +0000 Subject: [PATCH] Fixed mcop git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1155037 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- mcopidl/mcopidl.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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; }