From: dirk Date: Fri, 9 Jan 2015 23:26:21 +0000 (+0000) Subject: Build fixes. X-Git-Tag: 7.0.1-0~1465 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d668d4d1ae94ae3558da27680f99cc0e28ecbb1;p=imagemagick Build fixes. --- diff --git a/Magick++/lib/Magick++/STL.h b/Magick++/lib/Magick++/STL.h index 2168bfa36..8c67aba2d 100644 --- a/Magick++/lib/Magick++/STL.h +++ b/Magick++/lib/Magick++/STL.h @@ -2323,7 +2323,7 @@ namespace Magick insertImages( fourierImages_, images ); // Report any error - ThrowPPException(image_->quiet()); + ThrowPPException(image_.quiet()); } template void forwardFourierTransformImage( Container *fourierImages_, @@ -2342,7 +2342,7 @@ namespace Magick insertImages( fourierImages_, images ); // Report any error - ThrowPPException(image_->quiet()); + ThrowPPException(image_.quiet()); } // Applies a mathematical expression to a sequence of images. diff --git a/Magick++/lib/Thread.cpp b/Magick++/lib/Thread.cpp index aed0ae578..47a383d62 100644 --- a/Magick++/lib/Thread.cpp +++ b/Magick++/lib/Thread.cpp @@ -32,7 +32,7 @@ Magick::MutexLock::MutexLock(void) ::pthread_mutexattr_destroy(&attr); return; } - throwExceptionExplicit(OptionError,"mutex initialization failed", + throwExceptionExplicit(MagickCore::OptionError,"mutex initialization failed", strerror(sysError)); } #else @@ -71,7 +71,7 @@ Magick::MutexLock::~MutexLock(void) if ((sysError=::pthread_mutex_destroy(&_mutex)) == 0) return; - throwExceptionExplicit(OptionError,"mutex destruction failed", + throwExceptionExplicit(MagickCore::OptionError,"mutex destruction failed", strerror(sysError)); #endif #if defined(_MT) && defined(_VISUALC_) @@ -90,7 +90,7 @@ void Magick::MutexLock::lock(void) if ((sysError=::pthread_mutex_lock(&_mutex)) == 0) return; - throwExceptionExplicit(OptionError,"mutex lock failed", + throwExceptionExplicit(MagickCore::OptionError,"mutex lock failed", strerror(sysError)); #endif #if defined(_MT) && defined(_VISUALC_) @@ -109,7 +109,7 @@ void Magick::MutexLock::unlock(void) if ((sysError=::pthread_mutex_unlock(&_mutex)) == 0) return; - throwExceptionExplicit(OptionError,"mutex unlock failed", + throwExceptionExplicit(MagickCore::OptionError,"mutex unlock failed", strerror(sysError)); #endif #if defined(_MT) && defined(_VISUALC_)