OS 10.10 compile fixes

* fix clang pickiness regarding boolean
 * ignore ‘verify’ macro
 * tested with Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
This commit is contained in:
Robin Gareus 2014-10-19 19:54:01 +02:00
parent 892909b052
commit ffde2fb5f9
8 changed files with 12 additions and 9 deletions

View file

@ -295,7 +295,7 @@ EditorRegions::add_region (boost::shared_ptr<Region> region)
string str;
TreeModel::Row row;
Gdk::Color c;
bool missing_source = boost::dynamic_pointer_cast<SilentFileSource>(region->source());
bool missing_source = boost::dynamic_pointer_cast<SilentFileSource>(region->source()) != NULL;
if (!_show_automatic_regions && region->automatic()) {
return;