From: Sergei Nikulov Date: Mon, 28 May 2018 06:01:48 +0000 (+0300) Subject: cmake: fixed comments in compile checks code X-Git-Tag: curl-7_61_0~109 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=954284f9192ccc9719e39970f39c7ac2d9090511;p=curl cmake: fixed comments in compile checks code --- diff --git a/CMake/CurlTests.c b/CMake/CurlTests.c index ac959f340..ab244ac39 100644 --- a/CMake/CurlTests.c +++ b/CMake/CurlTests.c @@ -513,7 +513,7 @@ void check(char c) {} int main () { char buffer[1024]; - // This will not compile if strerror_r does not return a char* + /* This will not compile if strerror_r does not return a char* */ check(strerror_r(EACCES, buffer, sizeof(buffer))[0]); return 0; } @@ -522,13 +522,13 @@ main () { #include #include -// float, because a pointer can't be implicitly cast to float +/* float, because a pointer can't be implicitly cast to float */ void check(float f) {} int main () { char buffer[1024]; - // This will not compile if strerror_r does not return an int + /* This will not compile if strerror_r does not return an int */ check(strerror_r(EACCES, buffer, sizeof(buffer))); return 0; }