mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
e2aed00430
As expressions can have side effects, evaluate only once. To enable deprecation reporting only once, get rid of the __typeof__ use to define the local temporary variable and use the target type (CURLoption/CURLINFO). This also avoids multiple reports on type conflicts (if some) by the curlcheck_* macros. Note that CURLOPT_* and CURLINFO_* symbols may be deprecated, but not their values: a curl_easy_setopt call with an integer constant as option will never report a deprecation. Reported-by: Thomas Klausner Fixes #10148 Closes #10149 |
||
---|---|---|
.. | ||
.gitignore | ||
curl.h | ||
curlver.h | ||
easy.h | ||
header.h | ||
Makefile.am | ||
mprintf.h | ||
multi.h | ||
options.h | ||
stdcheaders.h | ||
system.h | ||
typecheck-gcc.h | ||
urlapi.h | ||
websockets.h |