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]

Re: deriving template classes: gcc 3.4 complains



On Oct 1, 2003, at 19:48, George Garvey wrote:


On Wed, Oct 01, 2003 at 08:51:58PM +0200, Gerald Pfeifer wrote:
http://gcc.gnu.org/gcc-3.4/changes.html

Quoting from the above document, is this a typo:


The cast-as-lvalue extension has been removed. In particular, code like this:

        int i;
        (char)a = 5;


is no longer accepted.



No it is not, the extension causes too many problems than the benefits you get from it.
Any way why do you think it is a typo?


Thanks,
Andrew Pinski


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