[CMake] Windows: Finding stdint.h header succeeds, but finding int8_t type fails

Rolf Eike Beer eike at sf-mail.de
Mon Aug 13 02:40:25 EDT 2012


Aaron Smith wrote:
> Hey All,
> 
> First off I'm loving cmake, This thing makes my life so easy. Thank you!
> 
> I'm working on porting some code to Windows at the moment. I'm putting in
> configure checks for stdint.h and it's types. The strange thing is that
> finding the header works, but then finding the type fails.
> 
> check_include_file(stdint.h HAVE_STDINT_H) - works

set(CMAKE_REQUIRED_INCLUDES stdint.h)

> check_type_size(int8_t HAVE_int8_t) - fails
> check_symbol_exists(int8_t stdint.h HAVE_int8_t) - fails

HTH

Eike
-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120813/9af74b38/attachment.pgp>


More information about the CMake mailing list