[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a proble about const in g++
From: |
mayer |
Subject: |
Re: a proble about const in g++ |
Date: |
20 Nov 2001 19:05:15 -0800 |
address@hidden (?iso-8859-1?Q?Andr?P?itz?) wrote in message
news:<address@hidden>...
> mayer <address@hidden> wrote:
> > It is valid in stndard c++ but g++ can not compile it well, why?
>
> Maybe you should mention the version of g++ you are using. The somewhat
> antique 2.95.2 I am using compiles it just fine.
>
> Andre'
I use gcc 2.96
The error message is
passing 'const' A as 'this' argument of 'void A::Data()'
mayer