Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Components
Assignee
Shamser AhmedShamser AhmedReporter
Brian O'NeillBrian O'NeillPriority
MajorPull Request URL
Details
Details
Components
Assignee
Shamser Ahmed
Shamser AhmedReporter
Brian O'Neill
Brian O'NeillPriority
Pull Request URL
Created May 4, 2015 at 5:05 PM
Updated July 13, 2015 at 10:21 AM
Resolved July 3, 2015 at 4:14 PM
When compiling on OSX, with the following version of clang:
➜ HPCCSystems clang --version
Apple LLVM version 6.1.0 (clang-602.0.49) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
I receive the following errors:
In file included from /Users/bone/git/boneill42/hpcc/system/jlib/jhash.hpp:28:
/Users/bone/git/boneill42/hpcc/system/jlib/jsuperhash.hpp:458:46: error: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Werror,-Wtautological-undefined-compare]
operator const char * () { return (NULL==this)?NULL:keyPtr(); }
~~~~ ^~~~
...
In file included from /Users/bone/git/boneill42/hpcc/system/jlib/jlib.hpp:194:
/Users/bone/git/boneill42/hpcc/system/jlib/jhash.hpp:66:58: error: 'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true [-Werror,-Wundefined-bool-conversion]
const char * getAtomNamePtr() const { return this ? getNamePtr() : NULL; }
^~~~ ~
2 errors generated.
make[2]: *** [system/jlib/CMakeFiles/jlib.dir/jargv.cpp.o] Error 1
make[1]: *** [system/jlib/CMakeFiles/jlib.dir/all] Error 2