Hi,
I tried this call: CHECK_FUNCTION_EXISTS(snprintf HAS_snprintf) Which results in this error being generated: 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" cc1.exe: warnings being treated as errors C:\Program Files\CMake 2.7\share\cmake-2.7\Modules\CheckFunctionExists.c:3: error: conflicting types for built-in function 'snprintf' What I understand is that the snprintf type exists, but conflicts with the built-in version... So this should return 'true' in fact... What can I do about it? MinGW 4.4.0 & CMake CVS of 7/7/2009. Grtz, Steven
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake