curl-library
Re: preprocessor warning with LIBSSH2_APINO
From: James Housley <jim_at_thehousleys.net>
Date: Thu, 12 Jul 2007 07:33:39 -0400
Date: Thu, 12 Jul 2007 07:33:39 -0400
On Jul 12, 2007, at 6:21 AM, Guenter Knauf wrote:
> Hi,
> it seems that some compilers preprocessors cant deal with such long
> consts; f.e.:
> #if defined(USE_LIBSSH2) && (LIBSSH2_APINO >= 200706012030)
>
> ../../curl/lib/transfer.c", line 335.47: 1506-207 (W) Integer
> constant 200706012030 out of range.
>
> I think we can shorten this constant to 20070601 in libssh2 since
> its not very likely that we change the libssh2 API more than once a
> day, or?
>
But 20070601 is less then the previous constant, so all existing
tests would fail. You can't change it like that.
Jim
-- /"\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ ----------------------------------------------------------------- http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net --------------------------------------------------------------------- Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon?Received on 2007-07-12