Re: [cmake-developers] Clang 3.5-svn emmits tautological-pointer-compare warning

2014-06-22 Thread Christoph Grüninger
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 'r

Re: [cmake-developers] Clang 3.5-svn emmits tautological-pointer-compare warning

2014-06-21 Thread Ben Boeckel
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

[cmake-developers] Clang 3.5-svn emmits tautological-pointer-compare warning

2014-06-20 Thread Christoph Grüninger
Hi CMake developers, I like CMake for not generating a ton of warnings. I just tried with a recent SVN version of Clang 3.5 which learned again new warnings: > [ 6%] Building CXX object > Source/kwsys/CMakeFiles/cmsys.dir/SystemInformation.cxx.o >