In file included from /Users/buildbot/slave-state/osx107/g-speak-rbb-osx107-1/sandbox-osx107-master3_13/build/examples/radiology/radiology.C:26:
- ...
/opt/oblong/deps-64-9/include/ImageMagick/magick/pixel.h:179:42:
error: unknown attribute '__hot__' ignored [-Werror,-Wattributes]
DecodePixelGamma(const MagickRealType) magick_hot_spot,
^
/opt/oblong/deps-64-9/include/ImageMagick/magick/method-attribute.h:132:43:
note: expanded from macro 'magick_hot_spot'
# define magick_hot_spot __attribute__((__hot__))
^
- #if defined(__clang__) || (((__GNUC__) > 4) || ((__GNUC__ == 4) &&
(__GNUC_MINOR__ >= 3)))
# define magick_alloc_size(x) __attribute__((__alloc_size__(x)))
# define magick_alloc_sizes(x,y) __attribute__((__alloc_size__(x,y)))
# define magick_cold_spot __attribute__((__cold__))
# define magick_hot_spot __attribute__((__hot__))
#else
...
#endif
- $ clang++ --version
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
- #if defined(__has_attribute) && __has_attribute(__hot__)
so a real fix might be hard.
If it's of interest, here's the commandline that failed:
- clang++ -I /Users/buildbot/slave-state/osx107/g-speak-rbb-osx107-1/sandbox-osx107-master3_13/build/gtest/include
-mmacosx-version-min=10.7 -isystem /include -Wempty-body
-fdiagnostics-show-option -Wall -Wpointer-arith -Wshadow
-Wwrite-strings -Wno-overloaded-virtual -Wno-strict-overflow
-Wno-error=unused-variable -Werror -g -O3 -std=gnu++0x
-Wno-parentheses -Wno-unused-command-line-argument -Wno-shadow
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -arch i386
-arch x86_64 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
-I/Users/buildbot/slave-state/osx107/g-speak-rbb-osx107-1/sandbox-osx107-master3_13/build
-I/opt/oblong/g-speak3.13/include -I/opt/oblong/deps-64-9/include
-I/opt/oblong/deps-64-9/include/ImageMagick -o
CMakeFiles/hydra.dir/examples/hydra/hydra.C.o -c
/Users/buildbot/slave-state/osx107/g-speak-rbb-osx107-1/sandbox-osx107-master3_13/build/examples/hydra/hydra.C