From 6c77b8af5303dcf0dcafdadf6de5a1c65f4fcd86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Wed, 14 Apr 1999 11:14:18 +0000 Subject: [PATCH] Add -Wno-deprecated From-SVN: r26448 --- gcc/testsuite/g++.old-deja/g++.brendan/code-gen5.C | 2 +- gcc/testsuite/g++.old-deja/g++.bugs/900407_02.C | 2 +- gcc/testsuite/g++.old-deja/g++.jason/new2.C | 2 +- gcc/testsuite/g++.old-deja/g++.jason/template18.C | 2 +- gcc/testsuite/g++.old-deja/g++.jason/template37.C | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gcc/testsuite/g++.old-deja/g++.brendan/code-gen5.C b/gcc/testsuite/g++.old-deja/g++.brendan/code-gen5.C index 0d59b5685af..25987776e26 100644 --- a/gcc/testsuite/g++.old-deja/g++.brendan/code-gen5.C +++ b/gcc/testsuite/g++.old-deja/g++.brendan/code-gen5.C @@ -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. diff --git a/gcc/testsuite/g++.old-deja/g++.bugs/900407_02.C b/gcc/testsuite/g++.old-deja/g++.bugs/900407_02.C index 20a323f932f..5f6862f2fea 100644 --- a/gcc/testsuite/g++.old-deja/g++.bugs/900407_02.C +++ b/gcc/testsuite/g++.old-deja/g++.bugs/900407_02.C @@ -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) diff --git a/gcc/testsuite/g++.old-deja/g++.jason/new2.C b/gcc/testsuite/g++.old-deja/g++.jason/new2.C index 612c5e2d6e2..ed4f68d9f31 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/new2.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/new2.C @@ -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; diff --git a/gcc/testsuite/g++.old-deja/g++.jason/template18.C b/gcc/testsuite/g++.old-deja/g++.jason/template18.C index b95303f7238..38224bfd5ee 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/template18.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/template18.C @@ -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. diff --git a/gcc/testsuite/g++.old-deja/g++.jason/template37.C b/gcc/testsuite/g++.old-deja/g++.jason/template37.C index 71aa2707e71..53607ee7fbe 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/template37.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/template37.C @@ -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" -- 2.30.2