Andrew Pinski escreveu:
This is not the correct mailing list for this really, please use
gcc-help@ or in this case a C++ language list.
Oh sorry, it won't happen again.
Because of an ambiguous in the C++ syntax, the C++ standard decided
that this will be a function named a returning the type
On Fri, Feb 22, 2008 at 12:29 PM, Rodolfo Schulz de Lima
<[EMAIL PROTECTED]> wrote:
> Hi, I'd like to know why this rather simple code doesn't compile on gcc
> (from 4.2 to 4.3, haven't tested on earlier compilers):
This is not the correct mailing list for this really, please use
gcc-help@ or in t
Hi, I'd like to know why this rather simple code doesn't compile on gcc
(from 4.2 to 4.3, haven't tested on earlier compilers):
struct data {};
class test
{
public:
test(data) {}
int member;
};
int main()
{
test a(data());
a.member = 3;
}
The error output is:
error: request f