MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014690 | CMake | CMake | public | 2014-01-09 08:45 | 2014-06-02 08:38 |
Reporter | Arunmozhi | ||||
Assigned To | Daniele E. Domenichelli | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | CMake 3.0 | Fixed in Version | CMake 3.0 | ||
Summary | 0014690: CheckTypeSize doesn't behave as documented in daily build | ||||
Description | According to the documentation of CheckTypeSize ... If the BUILTIN_TYPES_ONLY option is not given, the macro checks for headers <sys/types.h>, <stdint.h>, and <stddef.h>, and saves results in HAVE_SYS_TYPES_H, HAVE_STDINT_H, and HAVE_STDDEF_H. The type size check automatically includes the available headers, thus supporting checks of types defined in the headers. ... The above behavior works in all versions of cmake including the current daily build 2.8.12.20140108-gc5c24. However if there is a CHECK_TYPE_SIZE invocation with BUILTIN_TYPES_ONLY option, further CHECK_TYPE_SIZE without BUILTIN_TYPES_ONLY fails (does not detect/include the required headers <sys/types.h>, <stdint.h>, and <stddef.h>). This is observed in the daily builds (tested on 2.8.12.20140108-gc5c24). | ||||
Steps To Reproduce | An example CMakeLists.txt attached. | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | CMakeLists.txt (321) 2014-01-09 08:45 https://public.kitware.com/Bug/file/5042/CMakeLists.txt | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-01-09 08:45 | Arunmozhi | New Issue | |||
2014-01-09 08:45 | Arunmozhi | File Added: CMakeLists.txt | |||
2014-01-09 09:34 | Brad King | Assigned To | => Daniele E. Domenichelli | ||
2014-01-09 09:34 | Brad King | Status | new => assigned | ||
2014-01-09 09:34 | Brad King | Target Version | => CMake 3.0 | ||
2014-01-09 09:34 | Brad King | Note Added: 0034919 | |||
2014-01-10 09:20 | Brad King | Note Added: 0034922 | |||
2014-01-10 09:20 | Brad King | Status | assigned => resolved | ||
2014-01-10 09:20 | Brad King | Resolution | open => fixed | ||
2014-01-10 09:20 | Brad King | Fixed in Version | => CMake 3.0 | ||
2014-06-02 08:38 | Robert Maynard | Note Added: 0036073 | |||
2014-06-02 08:38 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|