cURL / Mailing Lists / curl-library / Single Mail

curl-library

preprocessor warning with LIBSSH2_APINO

From: Guenter Knauf <eflash_at_gmx.net>
Date: Thu, 12 Jul 2007 12:21:37 +0200

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?

Guen.
Received on 2007-07-12