Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
Same wvarhidenmem error message as seen in bug ID #3034863 for Foundation/include/Poco/Exception.h. Patch is included which just changes the variable name in Exception::message.
Patch file for Foundation/include/Poco/Exception.h
I'm a bit confused about this one and the patch.
Does this code (the original in 1.3.6) give the warning:
inline void Exception::message(const std::string& msg)
_msg = msg;
which would be very strange, or this:
inline void Exception::message(const std::string& message)
_msg = message;
where the warning would actually make sense?
The warning came with the original code which used 'msg' as the variable name. My patch simply changed 'msg' to 'message'.