[cmake-developers] Clang 3.5-svn emmits tautological-pointer-compare warning
Christoph Grüninger
foss at grueninger.de
Sun Jun 22 17:54:58 EDT 2014
Hi Ben,
thanks for your investigations. Should I ask on the LLVM mailing list
whether they can answer the open questions? Or does anyone on this
mailing list have any related knowledge?
Bye
Christoph
> 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
More information about the cmake-developers
mailing list