Aug 5, 2011

g++ compile error: declaration of "XXX" shadows a parameter

I found below error when I compiling C++ program with g++:
declaration of "XXX" shadows a parameter
Acording to the forum in cprogramming.com, which titile is "declaration of "blah" shadows a parameter??", you see this when you make derived class and don't initialize it with a constructor initialization list.

No comments:

Post a Comment