This is the mail archive of the gcc-bugs@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]

Re: bug using gcc 2.95.2


>    The following code compiles with gcc 2.95.2 but should not
> according to the C++ standard as I understand it.  VC++ appears to
> generate the correct behavior and produces a compile error.

Thanks for your bug report. The problem is that gcc does not implement
standard C++ using declarations in classes Instead, it uses ARM
semantics for access declarations; please see

http://www.gnu.org/software/gcc/bugs.html

Regards,
Martin

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]