summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-26 19:20:59 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-26 19:20:59 +0000
commit0012acab27e855ae820b4dc55cc294908db53f82 (patch)
treea93dcb4e243b31412c692583fc06a3c792a99e26
parenta7ec0d003fc89685b1a48a7ecf1273fa9cca0f09 (diff)
downloadarts-0012acab27e855ae820b4dc55cc294908db53f82.tar.gz
arts-0012acab27e855ae820b4dc55cc294908db53f82.zip
Fixed mcop
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1155037 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--mcopidl/mcopidl.cc8
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;
}