On Fri, Apr 27, 2007 at 02:49:59AM +0200, Guenter Knauf wrote: > Hi all, > when I compile with gcc 4.x I see a couple of 'differ in signedness' warnings: > http://www.gknw.net/test/libssh2/build2.log > I can suppress the warnings with the gcc 4.x-only -Wno-pointer-sign switch: > http://www.gknw.net/test/libssh2/build1.log > > are we going to fix these soon? > And if not - is there a way to detect the gcc version from configure and add > the switch conditionally?
I get a lot of signed/unsigned comparison warnings on an older gcc as well. libssh2's use of signed vs. unsigned variables seems pretty inconsistent; unfortunately, that extends to the public API as well which is more difficult to change. >>> Dan -- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has moved ------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel