Hi all, the CVS ImfHeader.h has a couple of minor bugs:
in
T* Header::findTypedAttribute<T> (const std::string&)
T* Header::typedAttribute<T> (const std:string&)
(both const and non-const versions)
These are calling the older versions that take const char[] as an
argument.
However, they are not supplying the template parameter in that call:
findTypedAttribute (name.c_str())
which is causing gcc 4.0.2 to complain. This fixes the problem:
findTypedAttribute<T> (name.c_str())
I assume some versions of the front end are implicitly adding the type
parameter based on the type of this (4.0.1 for example works fine).
-Jim
_______________________________________________
Openexr-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/openexr-devel