-
- Downloads
lib: include curl_printf.h as one of the last headers
curl_printf.h defines printf to curl_mprintf, etc. This can cause problems with external headers which may use __attribute__((format(printf, ...))) markers etc. To avoid that they cause problems with system includes, we include curl_printf.h after any system headers. That makes the three last headers to always be, and we keep them in this order: curl_printf.h curl_memory.h memdebug.h None of them include system headers, they all do funny #defines. Reported-by: David Benjamin Fixes #743
Showing
- lib/asyn-ares.c 3 additions, 3 deletionslib/asyn-ares.c
- lib/asyn-thread.c 2 additions, 3 deletionslib/asyn-thread.c
- lib/base64.c 2 additions, 2 deletionslib/base64.c
- lib/conncache.c 2 additions, 3 deletionslib/conncache.c
- lib/connect.c 2 additions, 2 deletionslib/connect.c
- lib/cookie.c 2 additions, 2 deletionslib/cookie.c
- lib/curl_addrinfo.c 2 additions, 3 deletionslib/curl_addrinfo.c
- lib/curl_ntlm_core.c 2 additions, 3 deletionslib/curl_ntlm_core.c
- lib/curl_ntlm_wb.c 1 addition, 2 deletionslib/curl_ntlm_wb.c
- lib/curl_sasl.c 1 addition, 2 deletionslib/curl_sasl.c
- lib/easy.c 1 addition, 2 deletionslib/easy.c
- lib/escape.c 1 addition, 2 deletionslib/escape.c
- lib/file.c 1 addition, 2 deletionslib/file.c
- lib/formdata.c 1 addition, 2 deletionslib/formdata.c
- lib/ftp.c 1 addition, 2 deletionslib/ftp.c
- lib/hostip.c 1 addition, 1 deletionlib/hostip.c
- lib/hostip4.c 2 additions, 2 deletionslib/hostip4.c
- lib/hostip6.c 1 addition, 2 deletionslib/hostip6.c
- lib/http.c 2 additions, 2 deletionslib/http.c
- lib/http2.c 2 additions, 2 deletionslib/http2.c
Loading
Please register or sign in to comment