Jonathan Wakely wrote:
>> /usr/local/include/mysql++/lockable.h: In constructor
>> 'mysqlpp::Lockable::Lockable(bool)':
>> /usr/local/include/mysql++/lockable.h:125: warning: declaration of
>> 'locked'
>> shadows a member of 'this'
>>
>
> The warning's harmless, but so is preventing it so probably worth doing.
>
> I can't remember if gcc's -Wno-shadow will suppress the warning, it
> might do.
>
> The best way is to rename either the BasicLock constructor parameter,
Fixed. Thanks for chasing this problem down.