[cfe-dev] ccc -x objective-c

David Chisnall csdavec at swansea.ac.uk
Tue Feb 3 15:45:52 PST 2009


I notice this patch wasn't committed.  Possibly it got lost in a load  
I sent in one go.

This is required for -x to actually work.

David

Index: ccc
===================================================================
--- ccc	(revision 63634)
+++ ccc	(working copy)
@@ -318,6 +318,8 @@
              i += 1
          if arg == '-x':
              language = args[i+1]
+            compile_opts.append(arg)
+            compile_opts.append(args[i+1])
              i += 1
          if arg[0] != '-':
              files.append(arg)




More information about the cfe-dev mailing list