Subject: [libssh2] preprocessor warning with LIBSSH2_APINO

[libssh2] 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.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-07-12