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

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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 4 Mar 2010 09:05:55 +0100 (CET)

On Wed, 3 Mar 2010, Alexander Lamaison wrote:

>> 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*.

In case someone missed it: I've pushed a rather big fix that implemented this
simpler approach. I hope I didn't mess up anywhere, but I ran a few basic
tests before I sent it off and it worked fine for me.

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