<div dir="ltr">Adding CFLAGS=-DHAVE_SNPRINTF as an argument to make fixed it.<div><br></div><div>It&#39;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">&lt;<a href="mailto:howard.hinnant@gmail.com" target="_blank">howard.hinnant@gmail.com</a>&gt;</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 &lt;<a href="mailto:skeet@pobox.com">skeet@pobox.com</a>&gt; wrote:<br>
&gt;<br>
&gt; The tzvalidate travis build is failing, with both clang and gcc, with this error:<br>
&gt;<br>
&gt; zdump.c:803:1: error: static declaration of ‘snprintf’ follows non-static declaration<br>
&gt;  snprintf(char *s, size_t size, char const *format, ...)<br>
&gt;  ^<br>
&gt; make: *** [zdump.o] Error 1<br>
&gt;<br>
&gt;<br>
&gt; It&#39;s building fine for me locally, so I&#39;m not quite sure what&#39;s wrong. We&#39;re currently building on trusty - I may try another distro...<br>
&gt;<br>
&gt; The snprintf changes were introduced on June 13th. It&#39;s been too long since I&#39;ve done a lot of C to easily work out what&#39;s going on. I&#39;ll investigate further myself tomorrow, but I thought I&#39;d just see if anyone else had seen this before then.<br>
&gt;<br>
&gt; Jon<br>
&gt;<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>