Menu

#897 curlbuild.h.cmake missing quotes

closed-fixed
5
2013-06-21
2010-02-13
Tom Donovan
No

Missing quotes around printf format strings in include/curl/curlbuild.h.cmake causes compile errors (MS Visual Studio 2008 / CMake 2.6 or CMake 2.8):

curl-7.20.0\src\main.c(2831) : error C2146: syntax error : missing ')' before identifier 'lld'

because the symbol CURL_FORMAT_CURL_OFF_T is defined as lld instead of "lld"

The values for CURL_FORMAT_CURL_OFF_T, CURL_FORMAT_CURL_OFF_TU, and CURL_FORMAT_OFF_T should be in double-quotes.

Discussion

  • Tom Donovan

    Tom Donovan - 2010-02-13

    proposed patch

     
  • Daniel Stenberg

    Daniel Stenberg - 2010-02-13
    • status: open --> closed-fixed
     
  • Daniel Stenberg

    Daniel Stenberg - 2010-02-13

    Thanks for the report, this problem is now fixed in CVS!