This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Code compiled with 2.7, doesn't with egcs, please help
- To: egcs at cygnus dot com
- Subject: Code compiled with 2.7, doesn't with egcs, please help
- From: Jacek Pliszka <pliszka at cpt15 dot dur dot ac dot uk>
- Date: Mon, 3 Aug 1998 15:47:35 +0100 (BST)
Hi!
I had the following code:
SMatrix::SMatrix(double_complex & d){
...
};
SMatrix::SMatrix(double x){
double_complex cx=x;
((SMatrix*)this)->SMatrix(cx);
}
which worked with g++ 2.7.2 but when I tried to compile it
under egcs 1.0.1, I got:
Spinor.cc: In method `SMatrix::SMatrix(double)':
Spinor.cc:116: no matching function for call to `SMatrix::SMatrix
(complex<double> &)'
Could anybody help me with that?
Please, replay also to my private e-mail adress since
the sooner I solve it the sooner I could start my further work.
Thanks in advance,
Jacek