On Fri, Jun 20, 2014 at 10:02:43 +0200, Christoph Grüninger wrote:
> Find attached a patch the removes the condition that is always true.
> Maybe you want to keep the condition as an assert?

Hmm. I don't see anything in the docs which states that uname must
always have non-NULL in 'release'. Maybe clang is using extra
information from the implementation of uname (which may be a macro)?

It is under a __linux defined block, so maybe if uname was guaranteed to
be non-NULL for Linux at least, it'd be acceptable IMO.

--Ben
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to