build failure in master: zero-length memset

2009-09-19 Thread Julian Graham
Hi all, I'm getting a build failure on master caused by a warning about a zero-length call to memset (which reminded me of what Ken and Ludo were talking about here [1]). /usr/include/bits/string3.h:82: error: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with c

Re: build failure in master: zero-length memset

2009-09-20 Thread Ludovic Courtès
Hi Julian, Julian Graham writes: > /usr/include/bits/string3.h:82: error: call to > ‘__warn_memset_zero_len’ declared with attribute warning: memset used > with constant zero length parameter; this could be due to transposed > parameters This happens when compiling which file? Thanks, Ludo’.