Hm,

this doesn't align with the errormessage you've posted.

there should be some header with #define memcpy (a,b,c) so please grep over all files not just string.h;

maybe that header gets pulled in first, and causes the error message.

Sat Jul 21 2012 13:52:42 EDT from Lightspeed @ Uncensored Subject: Re: libcitadel compile fails under OS X

This is all I could find.

[/usr/include]$ grep memcpy string.h
void    *memcpy(void *, const void *, size_t);

 

[12:50PM] 38 [~]$ man memcpy

MEMCPY(3)                BSD Library Functions Manual                MEMCPY(3)

NAME
     memcpy -- copy memory area

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <string.h>

     void *
     memcpy(void *restrict s1, const void *restrict s2, size_t n);

DESCRIPTION
     The memcpy() function copies n bytes from memory area s2 to memory area
     s1.  If s1 and s2 overlap, behavior is undefined.  Applications in which
     s1 and s2 might overlap should use memmove(3) instead.

RETURN VALUES
     The memcpy() function returns the original value of s1.

SEE ALSO
     bcopy(3), memccpy(3), memmove(3), strcpy(3), wmemcpy(3)

STANDARDS
     The memcpy() function conforms to ISO/IEC 9899:1990 (``ISO C90'').

BSD                              June 4, 1993                              BSD



 

Reply via email to