This is the mail archive of the gcc@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] | |
On Thu, 2005-02-10 at 16:05 -0800, Janis Johnson wrote:
On Thu, Feb 10, 2005 at 04:00:49PM -0800, Zack Weinberg wrote:
On Thu, 2005-02-10 at 15:47 -0800, Janis Johnson wrote:
There are eight tests that check for that error message, although probably not in quite the same way.
I may be confused - this *is* g++.mike/p10769a.C we are talking about, yes? If so, I'd like to point out that g++.mike/p10769b.C appears to be constructively the exact same test case except with dg-error markers on the offending conversions instead of dg-boguses.
Except that p10769b.C doesn't use -Wno-pmf-conversions and gets different error messages.
My bad, I should read more carefully. Um, is -Wno-pmf-conversions a useful feature anymore, given that we are issuing errors with or without it?
struct S {
void f();
}; void g() {
reinterpret_cast<void*>(&S::f);
}-- Mark Mitchell CodeSourcery, LLC mark@codesourcery.com (916) 791-8304
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |