<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> +#if defined(__STDC_VERSION__) && (__STDC_VERSION__ > 199901L) && \<br>
<br>
Did you mean ">= 199901L" here rather than ">"?<br></blockquote><div><br></div><div>I did, that was a typo.<br></div><div> <br></div><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">


<div>On 08/01/2014 02:22 PM, Chuck Atkins wrote:<br>
> I noticed the recent merge of liblzma broke the PGI compiler.<br>
<br>
</div>It is not surprising that there is lingering C99 code because<br>
the library implementation was ported from C99 to C89/90 for<br>
inclusion in CMake.<br></blockquote><div> </div><div>Not only that but the line in question was being protected from MSVC, not C99.  Given that it was ported though, I'd say the better fix would be to remove the C99 version entirely and always use the C89 version without the static array dimensions.  See updated patch.<br>


</div><br></div></div></div>