mirror of
https://github.com/curl/curl.git
synced 2026-01-26 15:03:21 +00:00
GCC 15.2 warns when assigning computed "all" bitmask macros to 32-bit flag types because negated masks expand to the full width of unsigned long/long on 64-bit platforms. Mask these macros to a 32-bit domain so they do not set high bits and avoid -Woverflow/-Wconversion warnings in callers. Reported-by: Patrick Monnerat Fixes #20242 Closes #20416
include
Public include files for libcurl, external users.
They are all placed in the curl subdirectory here for better fit in any kind of environment. You must include files from here using...
#include <curl/curl.h>
... style and point the compiler's include path to the directory holding the curl subdirectory. It makes it more likely to survive future modifications.
The public curl include files can be shared freely between different platforms and different architectures.