MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015571 | CMake | Modules | public | 2015-05-16 16:18 | 2015-11-02 09:15 |
Reporter | grahamb | ||||
Assigned To | Rolf Eike Beer | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake 3.2.2 | ||||
Target Version | CMake 3.3 | Fixed in Version | CMake 3.3 | ||
Summary | 0015571: CheckTypeSize causes a CMP0054 warning | ||||
Description | Using CheckTypeSize with CMake >= 3.1 causes a CMP0054 warning. Setting the policy in the module to VERSION 3.1 fixes the issue. There may be other modules similarly afflicted. | ||||
Steps To Reproduce | Any use of CheckTypeSize, e.g. check_type_size(off64_t OFF64_T) | ||||
Additional Information | Sample output: CMake Warning (dev) at C:/ProgramData/Chocolatey/lib/cmake.3.1.3/content/cmake-3.1.3-win32-x86/share/cmake-3.1/Modules/CheckTypeSize.cmake:232 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "C" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): C:/buildbot/wireshark/wireshark-master-32/Wireshark-win32-libs/zlib-1.2.8/CMakeLists.txt:43 (check_type_size) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at C:/ProgramData/Chocolatey/lib/cmake.3.1.3/content/cmake-3.1.3-win32-x86/share/cmake-3.1/Modules/CheckTypeSize.cmake:115 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "C" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): C:/ProgramData/Chocolatey/lib/cmake.3.1.3/content/cmake-3.1.3-win32-x86/share/cmake-3.1/Modules/CheckTypeSize.cmake:249 (__check_type_size_impl) C:/buildbot/wireshark/wireshark-master-32/Wireshark-win32-libs/zlib-1.2.8/CMakeLists.txt:43 (check_type_size) This warning is for project developers. Use -Wno-dev to suppress it. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-05-16 16:18 | grahamb | New Issue | |||
2015-05-16 16:43 | Rolf Eike Beer | Note Added: 0038751 | |||
2015-05-16 16:43 | Rolf Eike Beer | Assigned To | => Rolf Eike Beer | ||
2015-05-16 16:43 | Rolf Eike Beer | Status | new => assigned | ||
2015-05-16 16:43 | Rolf Eike Beer | Category | CMake => Modules | ||
2015-05-16 17:39 | grahamb | Note Added: 0038752 | |||
2015-05-16 17:39 | grahamb | Note Edited: 0038752 | bug_revision_view_page.php?bugnote_id=38752#r1779 | ||
2015-05-17 04:13 | Rolf Eike Beer | Note Added: 0038753 | |||
2015-05-17 17:17 | grahamb | Note Added: 0038754 | |||
2015-05-18 10:09 | Brad King | Note Added: 0038761 | |||
2015-05-18 10:10 | Brad King | Status | assigned => resolved | ||
2015-05-18 10:10 | Brad King | Resolution | open => fixed | ||
2015-05-18 10:10 | Brad King | Fixed in Version | => CMake 3.3 | ||
2015-05-18 10:10 | Brad King | Target Version | => CMake 3.3 | ||
2015-05-18 10:21 | Rolf Eike Beer | Note Added: 0038762 | |||
2015-05-18 10:28 | Brad King | Note Added: 0038763 | |||
2015-05-18 13:56 | grahamb | Note Added: 0038769 | |||
2015-05-18 14:06 | Brad King | Note Added: 0038770 | |||
2015-05-18 14:13 | Brad King | Note Added: 0038771 | |||
2015-05-19 13:04 | Brad King | Note Edited: 0038771 | bug_revision_view_page.php?bugnote_id=38771#r1781 | ||
2015-11-02 09:15 | Robert Maynard | Note Added: 0039815 | |||
2015-11-02 09:15 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|