imageworks/OpenColorIO — Issue #225: 1.0.4 - compile error with clang on OSX, template<>
Author: 2bits
Created: 2012-02-22 02:18:56+00:00
State: open

I just tried compiling 1.0.4 on OSX Lion 10.7.3 with /usr/bin/clang, version 3.1 (318.0.45)

Clang is very twitchy as you folks probably know. This is the most recent version of it from Apple,
and it had some minor problems during compile:

Core i5 8GB
OSX Lion 10.7.3 64bit
cmake-2.8.7
pkg-config-0.25
glew-1.7.0

[Here is the output when I compile with clang](https://gist.github.com/1880665)

I think it just wants better labels ?

In file included from /tmp/homebrew-opencolorio-1.0.4-tZvQ/imageworks-OpenColorIO-12fb440/src/core/Config.cpp:50:
/tmp/homebrew-opencolorio-1.0.4-tZvQ/imageworks-OpenColorIO-12fb440/src/core/OCIOYaml.h:46:5: error: template specialization requires 'template<>'
class TypedKeyNotFound;
^
template<>