gcc 2.95 [Re: hugin on debian woody]
Pablo d'Angelo
pablo at mathematik.uni-ulm.de
Wed Oct 1 17:23:26 BST 2003
On Wed, 01 Oct 2003, Pablo d'Angelo wrote:
> On Wed, 01 Oct 2003, Frederic wrote:
> Just strip away all the "instantiated from here" messages and you see
> the real errors ;)
Sorry, not true...
> > g++ -I. -I../include -Wall -O2 -I../ -c -o .obj/PanoramaMemento.o PanoramaMemento.cpp
> > /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_pair.h: In method `pair<char[2],PT::Variable>::pair(const char (&)[2], const PT::Variable &)':
> > /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_pair.h:68: instantiated from `make_pair<char[2], PT::Variable>(const char (&)[2], const PT::Variable &)'
> > PanoramaMemento.cpp:48: instantiated from here
> > /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_pair.h:44: incompatible types in assignment of `const char[2]' to `char[2]'
Actually it is also an problems with the make_pair function. It looks
like g++2.95 doesn't completly support partial template specialisation,
so :
make_pair
has to be changed to :
pair<const char*, Variable>
to get it to build. fixed in current cvs
ciao
Pablo
--
http://wurm.wohnheim.uni-ulm.de/~redman/
Please use PGP
More information about the ptX
mailing list