D
DeMarcus
Hi,
If I compile the following with gcc 4.7.1 and -Weffc++ then I get a
compiler warning on the operator% but not the others. Is this a bug?
struct A
{
A& operator%( int i ) { return *this; }
A& operator++() { return *this; }
A& fnc( int i ) { return *this; }
};
int main()
{
return 0;
}
Thanks,
Daniel
If I compile the following with gcc 4.7.1 and -Weffc++ then I get a
compiler warning on the operator% but not the others. Is this a bug?
struct A
{
A& operator%( int i ) { return *this; }
A& operator++() { return *this; }
A& fnc( int i ) { return *this; }
};
int main()
{
return 0;
}
Thanks,
Daniel