PR 13631 Problems in messages

François Dumont frs.dumont@gmail.com
Thu Mar 19 20:49:00 GMT 2015


On 18/03/2015 17:17, Jonathan Wakely wrote:
> The new get_glibc_msg function doesn't compile with old versions of
> glibc, _M_name_messages is not defined (the code is also not exception
> safe, but that was not introduced by the recent changes).

     Does it really have to be exception safe ? I considered that 
between allocation of the duplicated string and it being freed there 
were only calls to C functions so no exception expected. Am I wrong in 
this assumption ?

François



More information about the Libstdc++ mailing list