[cmake-developers] [PATCH][CMAKE] C sources must use C Style comments

Brad King brad.king at kitware.com
Tue Oct 27 09:14:27 EDT 2015


On 10/26/2015 09:22 AM, CHEVRIER, Marc wrote:
> Attached is a small patch ensuring that c source is compiling
> even if C compiler (AIX xlc for example) does not support
> C++ Style comments.

Wow, that's slipped through for 12 years.  Thanks:

 CheckForPthreads.c: Do not use C++-style comments in C source
 https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e166203f

-Brad



More information about the cmake-developers mailing list