Re: [CMake] CHECK_FUNCTION_EXISTS and -Werror

2008-12-06 Thread Mathieu Malaterre
On Fri, Dec 5, 2008 at 12:27 PM, Mathieu Malaterre [EMAIL PROTECTED] wrote: On Fri, Dec 5, 2008 at 12:12 PM, Eric Noulard [EMAIL PROTECTED] wrote: 2008/12/5 Mathieu Malaterre [EMAIL PROTECTED]: 'lo there, I had my CFLAGS set to -Werror, and because of that a try compile failed with:

Re: [CMake] CHECK_FUNCTION_EXISTS and -Werror

2008-12-06 Thread Mathieu Malaterre
On Sat, Dec 6, 2008 at 11:20 AM, Mathieu Malaterre [EMAIL PROTECTED] wrote: On Fri, Dec 5, 2008 at 12:27 PM, Mathieu Malaterre [EMAIL PROTECTED] wrote: On Fri, Dec 5, 2008 at 12:12 PM, Eric Noulard [EMAIL PROTECTED] wrote: 2008/12/5 Mathieu Malaterre [EMAIL PROTECTED]: 'lo there, I had my

[CMake] CHECK_FUNCTION_EXISTS and -Werror

2008-12-05 Thread Mathieu Malaterre
'lo there, I had my CFLAGS set to -Werror, and because of that a try compile failed with: Run Build Command:/usr/bin/make cmTryCompileExec/fast /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build make[1]: Entering directory

Re: [CMake] CHECK_FUNCTION_EXISTS and -Werror

2008-12-05 Thread Eric Noulard
2008/12/5 Mathieu Malaterre [EMAIL PROTECTED]: '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

Re: [CMake] CHECK_FUNCTION_EXISTS and -Werror

2008-12-05 Thread Mathieu Malaterre
On Fri, Dec 5, 2008 at 12:12 PM, Eric Noulard [EMAIL PROTECTED] wrote: 2008/12/5 Mathieu Malaterre [EMAIL PROTECTED]: '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: