[cmake-developers] [PATCH] Fix broken PGI builds for liblzma.

Brad King brad.king at kitware.com
Mon Aug 4 09:15:43 EDT 2014


On 08/01/2014 02:22 PM, Chuck Atkins wrote:
> I noticed the recent merge of liblzma broke the PGI compiler.

It is not surprising that there is lingering C99 code because
the library implementation was ported from C99 to C89/90 for
inclusion in CMake.

> +#if defined(__STDC_VERSION__) && (__STDC_VERSION__ > 199901L) && \

Did you mean ">= 199901L" here rather than ">"?

Thanks,
-Brad




More information about the cmake-developers mailing list