main.cpp|11|warning: ‘class Bagger’ has pointer data members [-Weffc++]| main.cpp|11|warning: but does not override ‘Bagger(const Bagger&)’ [-Weffc++]| main.cpp|11|warning: or ‘operator=(const Bagger&)’ [-Weffc++]| main.cpp||In constructor ‘Bagger::Bagger()’:| main.cpp|43|warning: ‘Bagger::key’ should be initialized in the member initialization list [-Weffc++]| main.cpp|43|warning: ‘Bagger::array_size’ should be initialized in the member initialization list [-Weffc++]| main.cpp|43|warning: ‘Bagger::arr’ should be initialized in the member initialization list [-Weffc++]| main.cpp|43|warning: ‘Bagger::in’ should be initialized in the member initialization list [-Weffc++]| main.cpp|43|warning: ‘Bagger::lineNumber’ should be initialized in the member initialization list [-Weffc++]| main.cpp|43|warning: ‘Bagger::index’ should be initialized in the member initialization list [-Weffc++]| main.cpp|43|warning: ‘Bagger::linesAdded’ should be initialized in the member initialization list [-Weffc++]| main.cpp||In member function ‘void Bagger::addLines(int&)’:| main.cpp|83|warning: declaration of ‘index’ shadows a member of 'this' [-Wshadow]| main.cpp||In member function ‘void Bagger::lineNum(int&)’:| main.cpp|102|warning: declaration of ‘index’ shadows a member of 'this' [-Wshadow]| main.cpp||In member function ‘void Bagger::lineSearch(std::string, int&)’:| main.cpp|126|warning: declaration of ‘index’ shadows a member of 'this' [-Wshadow]| main.cpp|126|warning: declaration of ‘key’ shadows a member of 'this' [-Wshadow]| ||=== Build finished: 0 errors, 14 warnings (0 minutes, 1 seconds) ===| |
|
|