Regression from 3.2 to 3.3
A package I maintain (aqsis) no longer builds with gcc 3.3 as the default
compiler. The error given is:
shaderstack.h: In function `void Aqsis::OpCAST(A&, B&, Aqsis::IqShaderData*,
Aqsis::IqShaderData*, Aqsis::CqBitVector&) [with A = TqFloat, B =
Aqsis::CqColor]':
shadervm1.cpp:277: instantiated from here
shaderstack.h:543: error: invalid static_cast from type `float' to type `
Aqsis::CqColor'
shaderstack.h:551: error: invalid static_cast from type `TqFloat' to type `
Aqsis::CqColor'
shaderstack.h: In function `void Aqsis::OpCAST(A&, B&, Aqsis::IqShaderData*,
Aqsis::IqShaderData*, Aqsis::CqBitVector&) [with A = TqFloat, B =
Aqsis::CqMatrix]':
shadervm1.cpp:298: instantiated from here
shaderstack.h:543: error: invalid static_cast from type `float' to type `
Aqsis::CqMatrix'
shaderstack.h:551: error: invalid static_cast from type `TqFloat' to type `
Aqsis::CqMatrix'
make[1]: *** [shadervm1.lo] Error 1
make[1]: Leaving directory
`/home/wnewton/debian/packages/aqsis/test/aqsis-0.7.16/libshadervm'
Can anyone help me figure out what is causing this? It's holding up new
versions getting into the archive.
Reply to: