[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    icecream/daemon
From:       Will Stephenson <wstephenson () kde ! org>
Date:       2006-07-02 19:40:16
Message-ID: 1151869216.818434.26776.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 557266 by wstephens:

Add -fpreprocessed argument so the compiler knows what it's getting.
(See dirk for details)


 M  +2 -1      workit.cpp  


--- trunk/icecream/daemon/workit.cpp #557265:557266
@@ -210,7 +210,7 @@
 
         int argc = list.size();
         argc++; // the program
-        argc += 5; // -x c - -o file.o
+        argc += 6; // -x c - -o file.o -fpreprocessed
         argc += 4; // gpc parameters
         char **argv = new char*[argc + 1];
 	int i = 0;
@@ -227,6 +227,7 @@
               it != list.end(); ++it) {
             argv[i++] = strdup( it->c_str() );
         }
+        argv[i++] = strdup("-fpreprocessed");
         argv[i++] = strdup("-x");
         argv[i++] = strdup((j.language() == CompileJob::Lang_CXX) ? "c++" : "c");
         argv[i++] = strdup( "-" );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic