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

List:       kde-commits
Subject:    icecream/client
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2012-03-31 10:44:03
Message-ID: 20120331104403.95785AC89A () svn ! kde ! org
[Download RAW message or body]

SVN commit 1287754 by lunakl:

recognize clang as C compiler (clang++ is already recognized by ++)



 M  +2 -0      arg.cpp  


--- trunk/icecream/client/arg.cpp #1287753:1287754
@@ -80,6 +80,8 @@
         job.setLanguage (CompileJob::Lang_CXX);
     else if (suffix == "cc")
         job.setLanguage (CompileJob::Lang_C);
+    else if (compiler_name == "clang")
+        job.setLanguage (CompileJob::Lang_C);
     else {
         job.setLanguage( CompileJob::Lang_Custom );
         job.setCompilerName( name ); // keep path
[prev in list] [next in list] [prev in thread] [next in thread] 

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