The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=14690 ====================================================================== Reported By: Arunmozhi Assigned To: ====================================================================== Project: CMake Issue ID: 14690 Category: CMake Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2014-01-09 08:45 EST Last Modified: 2014-01-09 08:45 EST ====================================================================== Summary: 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. ====================================================================== 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 ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers