From: Warren Young Date: June 19 2007 4:50am Subject: Re: Issue with lockable.h List-Archive: http://lists.mysql.com/plusplus/6670 Message-Id: <467760A8.9090000@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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.