Commit 6c77b8af by Martin v. Löwis

Add -Wno-deprecated

From-SVN: r26448
parent 9ce392af
// Special g++ Options: -fthis-is-variable // Special g++ Options: -Wno-deprecated -fthis-is-variable
// GROUPS passed code-generation // GROUPS passed code-generation
// Check that the "this" pointer is zero when a method is // Check that the "this" pointer is zero when a method is
// called for an object pointed to by a null pointer. // called for an object pointed to by a null pointer.
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
// Such errors should probably not be issued when the -traditional option is // Such errors should probably not be issued when the -traditional option is
// used. // used.
// Special g++ Options: -fthis-is-variable // Special g++ Options: -Wno-deprecated -fthis-is-variable
// Special CC Options: // Special CC Options:
// Cfront only flags errors for such usage whin the +p (pure language) // Cfront only flags errors for such usage whin the +p (pure language)
......
// PRMS Id: 6267 // PRMS Id: 6267
// Special g++ Options: -fthis-is-variable -fno-exceptions // Special g++ Options: -Wno-deprecated -fthis-is-variable -fno-exceptions
struct A { struct A {
int i; int i;
......
// GROUPS passed templates // GROUPS passed templates
// Bug: g++ emits template instances when it shouldn't. // 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. // 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. // If we get an XPASS for this testcase, that's a bug.
......
// PRMS Id: 9930 // PRMS Id: 9930
// Test of -fexternal-templates hackery in new template code // 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 implementation "foo.hh"
#pragma interface "foo.hh" #pragma interface "foo.hh"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment