This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Add -iframework


Mike Stump wrote:
This patch adds -iframework so that one can add system frameworks on the command line. The code mirrors the option that it is most similar to (--F). I'd like to include this for 4.2; I believe it is safe enough.

Ok?

This is not OK for 4.2. It's a new feature.


+#ifndef TARGET_OPTiframework
+#define TARGET_OPTiframework(ARG)
+#endif
+

+    case OPT_iframework:
+      TARGET_OPTiframework (xstrdup (arg));
+      break;
+

Doesn't this make us silently ignore -iframework on non-Darwin platforms? That seems wrong; either the option should be unrecognized, an error or warning should be issued, or the documentation should be changed, or something.


--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]