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] | |
Hi Matt,
your patch from http://gcc.gnu.org/ml/gcc-patches/2002-10/msg00112.html
Breaks the following testcase:
--------- snip ---------- class A { public: char *const p; };
class B { public: B() { } A a; }; --------- snap ----------
What you did, was removing a warning if the const-member-containing type
(M here) isn't an aggregate. The problem now is, that this also removes
any warning in the case above.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |