[CMake] CHECK_FUNCTION_EXISTS and -Werror

Eric Noulard eric.noulard at gmail.com
Fri Dec 5 06:12:43 EST 2008


2008/12/5 Mathieu Malaterre <mathieu.malaterre at gmail.com>:
> 'lo there,
>
>  I had my CFLAGS set to -Werror, and because of that a try compile failed with:
>
[...]
> /usr/share/cmake-2.6/Modules/CheckFunctionExists.c:3: warning:
> conflicting types for built-in function 'strncasecmp'
>
>
>  Does this means strncasecmp is some kinf of function known by the
> gcc compiler ?

It should comes from  #include <string.h>
and not from gcc itself but I may be wrong...





-- 
Erk


More information about the CMake mailing list