[Libreoffice-commits] core.git: idl/source
Stephan Bergmann
sbergman at redhat.com
Thu Jun 26 13:50:13 PDT 2014
idl/source/prj/command.cxx | 12 ++++++++++++
1 file changed, 12 insertions(+)
New commits:
commit 977c50178f804dad2817bca98cb9b26affd5bf9a
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jun 26 22:49:40 2014 +0200
idl: ignore -isystem args
Change-Id: I0758fd3117795ed68789385576aee5a885639104
diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx
index 896ed4d6..9eceab1 100644
--- a/idl/source/prj/command.cxx
+++ b/idl/source/prj/command.cxx
@@ -316,6 +316,18 @@ SvCommand::SvCommand( int argc, char ** argv )
while(SyntaxStrings[j])
printf("%s\n",SyntaxStrings[j++]);
}
+ else if (aParam == "isystem")
+ {
+ // ignore "-isystem" and following arg
+ if (i < aList.size())
+ {
+ ++i;
+ }
+ }
+ else if (aParam.startsWith("isystem"))
+ {
+ // ignore args starting with "-isystem"
+ }
else if( aParam.startsWithIgnoreAsciiCase( "i" ) )
{ // define include paths
OUString aName( aParam.copy( 1 ) );
More information about the Libreoffice-commits
mailing list