curl-library
Re: Array Index size_t vs int
From: Guenter <lists_at_gknw.net>
Date: Tue, 18 Sep 2012 04:28:49 +0200
Date: Tue, 18 Sep 2012 04:28:49 +0200
Hi Daniel,
Am 17.09.2012 22:27, schrieb Daniel Stenberg:
> Also, remember that for example printf()ing size_t and ssize_t is an
> interesting task to do warning-free for a portable program. We have this
> problem right now with curl_off_t in a few examples as can be seen in
> this build: http://curl.haxx.se/dev/log.cgi?id=20120917184735-11714#prob1
FYI: this one occurs only with -strict or -pedantic I think, and since
gcc 4.5 we have a switch to supress it (-Wno-pedantic-ms-format) ...
Gün.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-09-18