cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Issue with http_chunks.c

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 22 Jul 2014 08:46:24 +0200 (CEST)

On Mon, 21 Jul 2014, Glen A Johnson Jr. wrote:

> The project was imported with cmake so HAVE_CONFIG_H was defined at line 39
> of curl_setup.h therefore curl_config.h (output from CMAKE) is used and on
> line 941 of curl_config.h ssize_t is defined as long.

Urgh. Another bug in the cmake setup[1]. See the warning it outputs.

Although my reading of CMakeLists.txt line 415 says it attempts to first make
sure size_t has the same size as long before it makes ssize_t equal long...
Doesn't that work?

[1] = https://github.com/bagder/curl/blob/master/docs/ROADMAP.md#remove

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-07-22