<div dir="ltr">Adding CFLAGS=-DHAVE_SNPRINTF as an argument to make fixed it.<div><br></div><div>It's a temporary hack for now, but it gets me past the immediate problem.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 October 2017 at 20:08, Howard Hinnant <span dir="ltr"><<a href="mailto:howard.hinnant@gmail.com" target="_blank">howard.hinnant@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Oct 23, 2017, at 2:52 PM, Jon Skeet <<a href="mailto:skeet@pobox.com">skeet@pobox.com</a>> wrote:<br>
><br>
> The tzvalidate travis build is failing, with both clang and gcc, with this error:<br>
><br>
> zdump.c:803:1: error: static declaration of ‘snprintf’ follows non-static declaration<br>
>  snprintf(char *s, size_t size, char const *format, ...)<br>
>  ^<br>
> make: *** [zdump.o] Error 1<br>
><br>
><br>
> It's building fine for me locally, so I'm not quite sure what's wrong. We're currently building on trusty - I may try another distro...<br>
><br>
> The snprintf changes were introduced on June 13th. It's been too long since I've done a lot of C to easily work out what's going on. I'll investigate further myself tomorrow, but I thought I'd just see if anyone else had seen this before then.<br>
><br>
> Jon<br>
><br>
<br>
</div></div>It looks like you can work around this by building with the following as an added option for the compiler:  -DHAVE_SNPRINTF<br>
<span class="HOEnZb"><font color="#888888"><br>
Howard<br>
<br>
</font></span></blockquote></div><br></div>