[Citadel Development] Re: libcitadel compile fails under OS X

2012-07-21 Thread Lightspeed


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 areaLIBRARY 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




[Citadel Development] libcitadel compile fails under OS X

2012-07-20 Thread Lightspeed


Tested on both OS X 10.6 and 10.7. Tried sources from git repository and latest released version. Same results:
 
lib/stringbuf.c:55: error: initializer element is not computable at load timelib/stringbuf.c:2264:28: error: macro "memcpy" requires 3 arguments, but only 2 givenlib/stringbuf.c: In function 'StrECMAEscAppend':lib/stringbuf.c:2264: warning: statement with no effectlib/stringbuf.c:2269:28: error: macro "memcpy" requires 3 arguments, but only 2 givenlib/stringbuf.c:2269: warning: statement with no effectlib/stringbuf.c:2386:29: error: macro "memcpy" requires 3 arguments, but only 2 givenlib/stringbuf.c: In function 'StrHtmlEcmaEscAppend':lib/stringbuf.c:2386: warning: statement with no effectlib/stringbuf.c:2391:29: error: macro "memcpy" requires 3 arguments, but only 2 givenlib/stringbuf.c:2391: warning: statement with no effectlib/stringbuf.c:2396:30: error: macro "memcpy" requires 3 arguments, but only 2 givenlib/stringbuf.c:2396: warning: statement with no effectlib/stringbuf.c:2416:37: error: macro "memcpy" requires 3 arguments, but only 2 givenlib/stringbuf.c:2416: warning: statement with no effectlib/stringbuf.c:2421:29: error: macro "memcpy" requires 3 arguments, but only 2 givenlib/stringbuf.c:2421: warning: statement with no effectlib/stringbuf.c:2433:29: error: macro "memcpy" requires 3 arguments, but only 2 givenlib/stringbuf.c:2433: warning: statement with no effectlib/stringbuf.c:2491:32: error: macro "memcpy" requires 3 arguments, but only 2 givenlib/stringbuf.c:2491: warning: statement with no effectlib/stringbuf.c: In function 'FileSendChunked':lib/stringbuf.c:3918: warning: unused variable 'pipesize'lib/stringbuf.c:3918: warning: unused variable 'sent'lib/stringbuf.c: In function 'FileRecvChunked':lib/stringbuf.c:3987: warning: unused variable 'pipesize'lib/stringbuf.c: In function 'FileMoveChunked':lib/stringbuf.c:4059: warning: unused variable 'pipesize'gnumake: *** [lib/stringbuf.lo] Error 1
 
No idea how long it has been broken. I last built libcitadel on April 11, 2011.
Let me know if you need more details or access to a shell or anything.




[Citadel Development] (no subject)

2010-09-20 Thread Lightspeed
Sorry about posting the status line stuff in Citadel Support. I feel sort
of foolish in thinking that was stable code. My error for not checking as
much as I should have. 
  
 If you need a Mac for testing, I'd be willing to give you access to mine
if that's easier. I've been around here long enough to know where OS X stands.
 
  
 Personally I use the terminal as much as I use the GUI. I wish they 
 would lose the mach kernel one day though. I'd love to see OS X be based
on straight *BSD.