Re: error: invalid use of void expression

2013-01-04 Thread Eric Blake
On 01/04/2013 05:47 PM, Bruce Korb wrote: > You may have been thinking you were using "memcpy", but you were > using "bcopy" instead. Please apply the patch to md5.c. Thanks! > Rather than fixing the call site of memcpy, we should instead fix the real bug, the fact that you are even doing *ifnd

error: invalid use of void expression

2013-01-04 Thread Bruce Korb
You may have been thinking you were using "memcpy", but you were using "bcopy" instead. Please apply the patch to md5.c. Thanks! $ gcc -c shar-i.c shar-i.c: In function 'md5_process_bytes': shar-i.c:3087:13: error: invalid use of void expression 1034 extern v