Actions
Bug #2698
closedsafe_memclear.c:44:18: error: too few arguments to function call, expected 4, have 3
ASK QUESTIONS IN Forums:
Description
Hello, I'm the maintainer of lighttpd in MacPorts. lighttpd 1.4.37 builds fine on OS X 10.11, but lighttpd 1.4.38 fails:
safe_memclear.c:44:18: error: too few arguments to function call, expected 4, have 3 memset_s(s, 0, n); ~~~~~~~~ ^ /usr/include/string.h:145:1: note: 'memset_s' declared here errno_t memset_s(void *, rsize_t, int, rsize_t) __OSX_AVAILABLE_STARTING(__MAC_10_9, __IPHONE_7_0); ^ 1 error generated.
I'll attach the full log file.
Files
Updated by stbuehler about 9 years ago
- File 0001-core-fix-memset_s-call-fixes-2698.patch 0001-core-fix-memset_s-call-fixes-2698.patch added
- Target version set to 1.4.39
Can you please test the attached patch?
Updated by ryandesign about 9 years ago
Thanks, it does compile with that patch.
Updated by stbuehler about 9 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset r3064.
Actions
Also available in: Atom