Add -Wno-deprecated
authorMartin v. Löwis <loewis@gcc.gnu.org>
Wed, 14 Apr 1999 11:14:18 +0000 (11:14 +0000)
committerMartin v. Löwis <loewis@gcc.gnu.org>
Wed, 14 Apr 1999 11:14:18 +0000 (11:14 +0000)
From-SVN: r26448

gcc/testsuite/g++.old-deja/g++.brendan/code-gen5.C
gcc/testsuite/g++.old-deja/g++.bugs/900407_02.C
gcc/testsuite/g++.old-deja/g++.jason/new2.C
gcc/testsuite/g++.old-deja/g++.jason/template18.C
gcc/testsuite/g++.old-deja/g++.jason/template37.C

index 0d59b5685afba232dae54202883158eae65c6c2c..25987776e26020a3f36536cef4f75b409c41648a 100644 (file)
@@ -1,4 +1,4 @@
-// Special g++ Options: -fthis-is-variable
+// Special g++ Options: -Wno-deprecated -fthis-is-variable
 // GROUPS passed code-generation
 // Check that the "this" pointer is zero when a method is
 // called for an object pointed to by a null pointer.
index 20a323f932ff60800346cb13a31668aaf1c47319..5f6862f2fea35c9a19d8283471abf70e51213a34 100644 (file)
@@ -7,7 +7,7 @@
 // Such errors should probably not be issued when the -traditional option is
 // used.
 
-// Special g++ Options: -fthis-is-variable
+// Special g++ Options: -Wno-deprecated -fthis-is-variable
 // Special CC Options:
 
 // Cfront only flags errors for such usage whin the +p (pure language)
index 612c5e2d6e2592adb68e1319a06858aa12a25245..ed4f68d9f317ad201b9531f5ea7d045169ffe5f6 100644 (file)
@@ -1,5 +1,5 @@
 // PRMS Id: 6267
-// Special g++ Options: -fthis-is-variable -fno-exceptions
+// Special g++ Options: -Wno-deprecated -fthis-is-variable -fno-exceptions
 
 struct A {
   int i;
index b95303f7238c630f777485ce09b87f6a8bf5d637..38224bfd5ee13a8299d6e6c9af299164fc26681c 100644 (file)
@@ -1,6 +1,6 @@
 // GROUPS passed templates
 // Bug: g++ emits template instances when it shouldn't.
-// Special g++ Options: -g -fexternal-templates
+// Special g++ Options: -g -Wno-deprecated -fexternal-templates
 
 // We mark this XFAIL because we can't test for expected linker errors.
 // If we get an XPASS for this testcase, that's a bug.
index 71aa2707e71f08ba4890fd8ee077eec79cb247a4..53607ee7fbeaf05088ce8c0607d71fd723d87f2d 100644 (file)
@@ -1,6 +1,6 @@
 // PRMS Id: 9930
 // Test of -fexternal-templates hackery in new template code
-// Special g++ options: -fexternal-templates
+// Special g++ options: -Wno-deprecated -fexternal-templates
 
   #pragma implementation "foo.hh"
   #pragma interface "foo.hh"