curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Above and beyond 32 protocols

From: Dan Fandrich via curl-library <curl-library_at_lists.haxx.se>
Date: Mon, 19 Sep 2022 22:08:50 -0700

On Sat, Sep 10, 2022 at 01:44:42PM +0200, Patrick Monnerat via curl-library wrote:
> - Drop support for non-64bit curl_off_t.

FWIW, https://wiki.debian.org/ArchitectureSpecificsMemo#Summary shows that all
Debian-supported architectures (and I count 30 of those) have a 64-bit
long long type. That means dropping support for 32-bit only
architectures might actually be viable. The Debian list isn't
comprehensive, so there might other architectures out there that don't
define a 64-bit type (seems unlikely), but there are definitely older
compilers out there without 64-bit types.

If the decision is to drop 32-bit only compilers/architectures, then it
probably makes sense to drop C89 compatibility at the same time. I
suspect that the intersection of C99 compilers and compilers without a
64-bit type is pretty close to , although technically, C99 doesn't
mandate the existence a 64-bit type.

Dan
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2022-09-20