>Message: 5 >Date: Tue, 22 Jul 2014 08:46:24 +0200 (CEST)
>From: Daniel Stenberg <[email protected] <mailto:[email protected]> > >To: libcurl development <[email protected] <mailto:[email protected]> > >Subject: Re: Issue with http_chunks.c >Message-ID: <[email protected] <mailto:[email protected]> > >Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed >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 Cmake was run with and configured a 32 bit set up on this since we need both 32 bit and 64 bit configurations as well as multiple versions of visual studio. The 64 bit configuration was added from with visual studio. I see in your roadmap you are looking to remove cmake support. If you were not I would suggest doing less in the curl_config.h and not bypassing config-win32 which addresses several issues other than the typedef of ssize_t. >From my standpoint if had not seen cmake files when I first started using libcurl a couple of years ago I would have looked further and found the solution files under the projects folder and never have bothered with cmake, thus saving myself a lot of time. I for one will not miss cmake. Glen Johnson Phone: 321-696-3122 Email: [email protected]
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
