deriving template classes: gcc 3.4 complains
Andrew Pinski
pinskia@physics.uc.edu
Thu Oct 2 03:00:00 GMT 2003
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
More information about the Gcc
mailing list