SuperBuild OSSIM build error with clang 4.0.1-6
Description
Attempting a SuperBuild with clang yields an error:
/home/poughov/build/SuperBuild-6.6-ninja-clang/OSSIM/src/OSSIM/ossim/src/ossim/base/ossimArgumentParser.cpp:194:12: error: ordered comparison between pointer and zero ('int *' and 'int')
if(argc > 0) delete (theArgv);
~~~~ ^ ~
1 error generated.
The issue has been fixed upstream: https://github.com/ossimlabs/ossim/commit/6151fca118558e1432a88e6d883d3212a4f2c904
Steps to reproduce
SuperBuild with clang.
Configuration information
Ubuntu 17.10, clang version:
clang version 4.0.1-6 (tags/RELEASE_401/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin