Project

General

Profile

Bug #2772

mod_authn_file.c:683:56: error: too few arguments provided to function-like macro invocation (memcpy)

Added by ryandesign over 3 years ago. Updated over 3 years ago.

Status:
Fixed
Priority:
Normal
Category:
build_autotools
Target version:
ASK QUESTIONS IN Forums:

Description

After applying changeset 653305628989ded07c65e815b32cf0e50f95077f to fix bug #2765, lighttpd 1.4.43 fails to build on OS X El Capitan with:

mod_authn_file.c:683:56: error: too few arguments provided to function-like macro invocation
                    memcpy(sample, CONST_STR_LEN("$1$"));
                                                       ^
/usr/include/secure/_string.h:64:9: note: macro 'memcpy' defined here
#define memcpy(dest, src, len)                                  \
        ^
mod_authn_file.c:683:21: warning: expression result unused [-Wunused-value]
                    memcpy(sample, CONST_STR_LEN("$1$"));
                    ^~~~~~
1 warning and 1 error generated.

Full build log attached.


Files

main.log (158 KB) main.log ryandesign, 2016-11-25 06:57
#1

Updated by gstrauss over 3 years ago

  • Status changed from New to Patch Pending
  • Target version changed from 1.4.x to 1.4.44
#2

Updated by gstrauss over 3 years ago

  • Status changed from Patch Pending to Fixed
  • % Done changed from 0 to 100

Also available in: Atom