August 18, 2003 benign (const) redefinition of parameters in function implementation | ||||
|---|---|---|---|---|
| ||||
Has this been fixed? (I may be using an older version of the compiler in the
IDDE)
// in A.h
struct A
{
void fn(char *x);
};
// in A.cpp
void A::fn(char *const x) // Am getting the redefinition warning here
{
}
| ||||
August 21, 2003 Re: benign (const) redefinition of parameters in function implementation | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Matthew Wilson | No. Sorry. "Matthew Wilson" <matthew@stlsoft.org> wrote in message news:bhpr4l$2bng$1@digitaldaemon.com... > Has this been fixed? (I may be using an older version of the compiler in the > IDDE) > > // in A.h > > struct A > { > void fn(char *x); > }; > > // in A.cpp > > void A::fn(char *const x) // Am getting the redefinition warning here > { > } > > | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply