[cmake-developers] [CMake][BUG] Ensure C based tests do not used C++ syntax

CHEVRIER, Marc marc.chevrier at sap.com
Fri Sep 25 09:20:33 EDT 2015


Hi,

I encountered some problems validating a CMake build on AIX using IBM xlc/xlC compilers. The problem comes from the fact that, by default, C compiler does not recognized C++-Style comments.
So, attached is a patch ensuring that sources compiling with a C compiler have C-Style comments only.

Marc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150925/a01782e2/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-C-Style-comments-in-C-sources-and-headers.patch
Type: application/octet-stream
Size: 6585 bytes
Desc: 0001-Use-C-Style-comments-in-C-sources-and-headers.patch
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150925/a01782e2/attachment-0001.obj>


More information about the cmake-developers mailing list