[cmake-developers] [CMake 0014250]: CMake build fails due to Curl bug 1192
Mantis Bug Tracker
mantis at public.kitware.com
Thu Jun 27 15:33:37 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14250
======================================================================
Reported By: John Ralls
Assigned To:
======================================================================
Project: CMake
Issue ID: 14250
Category: CMake
Reproducibility: always
Severity: block
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-06-27 15:33 EDT
Last Modified: 2013-06-27 15:33 EDT
======================================================================
Summary: CMake build fails due to Curl bug 1192
Description:
The latest llvm headers define strlcat as a macro rather than as a function,
producing the following error when building CMake:
Scanning dependencies of target cmcurl
[ 14%] Building C object Utilities/cmcurl/CMakeFiles/cmcurl.dir/cookie.c.o
In file included from
/Users/john/Development/gtk-sources/cmake-2.8.11/Utilities/cmcurl/cookie.c:93:
/Users/john/Development/gtk-sources/cmake-2.8.11/Utilities/cmcurl/strequal.h:42:8:
error:
expected parameter declarator
size_t strlcat(char *dst, const char *src, size_t siz);
^
/Applications/Xcode5-DP.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_string.h:111:44:
note:
expanded from macro 'strlcat'
__builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
^
/Applications/Xcode5-DP.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_common.h:39:62:
note:
expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIFY_...
^
/Applications/Xcode5-DP.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_common.h:30:32:
note:
expanded from macro '_USE_FORTIFY_LEVEL'
# define _USE_FORTIFY_LEVEL 2
^
Additional Information:
This has already been fixed in curl:
http://sourceforge.net/p/curl/bugs/1192/
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-06-27 15:33 John Ralls New Issue
======================================================================
More information about the cmake-developers
mailing list