Subject: Re: libssh2 master 3420e98... use const to silence a bazillion warnings

Re: libssh2 master 3420e98... use const to silence a bazillion warnings

From: Alexander Lamaison <swish_at_lammy.co.uk>
Date: Wed, 3 Mar 2010 13:16:03 +0000

On 3 March 2010 13:12, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Wed, 3 Mar 2010, Simon Josefsson wrote:
>
>> Are those 2-3 cases really that important to motive this work?  I prefer
>> to avoid dynamic error messages.
>
> You're right. Let's just change the rare few places with fixed strings
> instead.

This gets my vote too. Very handy for converting to C++ exceptions
which should always hold their message as a const char*.

Alex
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-03-03