Short description of error
Using a trunk of OIIO I began getting namespace errors on line 216 of the OIIO compatibility file in OpenImageIO::geterror(). I believe there were some declarations changed recently in OIIO related to namespaces that may have triggered this.
Removing the scope OpenImageIO:: solved it. Perhaps there are namespace issues at work?