List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:June 19 2007 4:50am
Subject:Re: Issue with lockable.h
View as plain text  
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.
Thread
Issue with lockable.hJason Ellis3 May
  • Re: Issue with lockable.hJonathan Wakely3 May
    • Re: Issue with lockable.hWarren Young19 Jun