From: Patrick H. <pa...@13...> - 2003-05-28 14:54:01
|
Well, looking at the code, I don't quite see how any compiler is able to figure out which instantiation of gmtl::xform() is supposed to be used--unless the compilers are relying on the ordering of the function declarations. Is it possible for you to try a newer version of GMTL? I see on the SourceForge project page, version 0.2.1 is the latest download. It may be that this problem was fixed with a newer version. I know that I did some reordering of functions to fix errors with more strict compilers (e.g., GCC 3.4). If trying a different version of GMTL is not an option for you, have you tried modifying the code to help out aCC? It looks as though some manual disambiguation is necessary. My guess is that if you change line 236 of Xforms.h to the following: return xform<DATA_TYPE, ROWS, COLS>(temporary, matrix, point); you'll be able to get it to compile with aCC. -Patrick jue...@gm... wrote: > Hi, > > there was a mistake on my side: > We're using > aCC "HP ANSI C++ B3910B A.03.27" on HP UX, where the Xforms problem > appears. > It works fine with > "gcc 2.95.2" on Sun > "gcc 3.2.2" on Linux > "MIPSpro Compiler 7.3.1.2m" on IRIX. > > The gmtl version is 0.1.13. > > -Juergen > -- Patrick L. Hartling | Research Assistant, VRAC pa...@13... | 2274 Howe Hall Room 2624 PGP: http://www.137.org/patrick/pgp.txt | T: +1.515.294.4916 http://www.137.org/patrick/ | http://www.vrac.iastate.edu/ |