Hi,<br><br><br>I tried this call:<br>CHECK_FUNCTION_EXISTS(snprintf HAS_snprintf)<br><br><br>Which results in this error being generated:<br>C:\MinGW\bin\gcc.exe -g -ggdb -O0 -Wall -Werror -DCHECK_FUNCTION_EXISTS=snprintf -o CMakeFiles\cmTryCompileExec.dir\CheckFunctionExists.c.obj -c "C:\Program Files\CMake 2.7\share\cmake-2.7\Modules\CheckFunctionExists.c"<br>
cc1.exe: warnings being treated as errors<br>C:\Program Files\CMake 2.7\share\cmake-2.7\Modules\CheckFunctionExists.c:3: error: conflicting types for built-in function 'snprintf'<br><br><br>What I understand is that the snprintf type exists, but conflicts with the built-in version... So this should return 'true' in fact...<br>
<br>What can I do about it?<br><br>MinGW 4.4.0 & CMake CVS of 7/7/2009.<br><br><br>Grtz,<br>Steven<br>