------- Comment #3 from gcc at dpinol dot com  2008-08-11 06:33 -------
(In reply to comment #2)
> This warning is valid as far as I can tell as the compiler does not know
> ACE_OS::mutex_lock does not throw.
> 

Hi,
then why removing any of these 3 lines from CircularBuffer's constructor causes
the warning to disappear?
      c_pBufferStart( new int[ 10 ]),
      c_pBufferEnd( c_pBufferStart+10),
      m_pRead( (int*)c_pBufferStart ),

thanks


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36833

Reply via email to