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]

[PATCH]: fix PR testsuite/38098


Currently gcc trunk is failing the excessive errors test of
gcc.dg/cpp/subframework1.c on darwin because the import feature
that this test uses generates a depreciated feature warning.
The attached patch suppresses this warning with -Wno-deprecated
to allow the test to still function until the #import directive
is finally removed. Okay for gcc trunk?
                          Jack


2008-11-13  Jack Howarth  <howarth@bromo.med.uc.edu>
        
	PR testsuite/38098
	* gcc.dg/cpp/subframework1.c: Use -Wno-deprecated.


Index: gcc/testsuite/gcc.dg/cpp/subframework1.c
===================================================================
--- gcc/testsuite/gcc.dg/cpp/subframework1.c	(revision 141837)
+++ gcc/testsuite/gcc.dg/cpp/subframework1.c	(working copy)
@@ -1,7 +1,7 @@
 /* Copyright (C) 2004 Free Software Foundation, Inc.  */
 
 /* { dg-do preprocess { target *-*-darwin* } } */
-/* { dg-options "-F$srcdir/gcc.dg/cpp/frame" } */
+/* { dg-options "-Wno-deprecated -F$srcdir/gcc.dg/cpp/frame" } */
 
 /* Contributed by Robert Bowdidge <bowdidge@apple.com>  */
 /* include a file from a subframework that will import two files that


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