idl/source/prj/command.cxx |   12 ++++++++++++
 1 file changed, 12 insertions(+)

New commits:
commit 977c50178f804dad2817bca98cb9b26affd5bf9a
Author: Stephan Bergmann <sberg...@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 ) );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to