3 messages in com.mysql.lists.plusplusRe: Issue with lockable.h
FromSent OnAttachments
Jason Ellis03 May 2007 08:48 
Jonathan Wakely03 May 2007 09:17 
Warren Young18 Jun 2007 21:50 
Subject:Re: Issue with lockable.h
From:Warren Young (mysq@etr-usa.com)
Date:06/18/2007 09:50:25 PM
List:com.mysql.lists.plusplus

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.