MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0008246 | CMake | CMake | public | 2008-12-06 05:23 | 2008-12-16 09:33 |
Reporter | Mathieu Malaterre | ||||
Assigned To | Brad King | ||||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | won't fix | ||
Platform | OS | OS Version | |||
Product Version | CMake-2-6 | ||||
Target Version | Fixed in Version | ||||
Summary | 0008246: CHECK_FUNCTION_EXISTS and -Werror are incompatible with gcc builtins functions | ||||
Description | If CFLAGS contains -Werror and checktestfunctionsexits test for a builtins function, cmake fails to determine if a function truly exist: 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 `/home/mmalaterre/Projects/gdcm/foo/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/mmalaterre/Projects/gdcm/foo/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o /usr/bin/gcc -Werror -DCHECK_FUNCTION_EXISTS=strncasecmp -o CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o -c /usr/share/cmake-2.6/Modules/CheckFunctionExists.c cc1: warnings being treated as errors /usr/share/cmake-2.6/Modules/CheckFunctionExists.c:3: warning: conflicting types for built-in function 'strncasecmp' make[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckFunctionExists.c.o] Error 1 make[1]: Leaving directory `/home/mmalaterre/Projects/gdcm/foo/CMakeFiles/CMakeTmp' make: *** [cmTryCompileExec/fast] Error 2 | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-12-06 05:23 | Mathieu Malaterre | New Issue | |||
2008-12-06 05:23 | Mathieu Malaterre | Note Added: 0014304 | |||
2008-12-15 10:05 | Bill Hoffman | Status | new => assigned | ||
2008-12-15 10:05 | Bill Hoffman | Assigned To | => Brad King | ||
2008-12-15 10:33 | Brad King | Note Added: 0014338 | |||
2008-12-15 10:46 | Mathieu Malaterre | Note Added: 0014339 | |||
2008-12-16 09:33 | Brad King | Note Added: 0014367 | |||
2008-12-16 09:33 | Brad King | Status | assigned => closed | ||
2008-12-16 09:33 | Brad King | Resolution | open => won't fix |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|