GCC Bugzilla – Bug 6803
Default copy constructor problem in GCC v3.1
Last modified: 2003-07-25 17:33:46 UTC
Code compiles with GCC v2.95.2, v2.95.3, v3.0.2, v3.0.3 and v3.0.4 but not with v3.1. copy_problem.cpp: In copy constructor `QQ::QQ(const QQ&)': copy_problem.cpp:57: invalid conversion from `const RR*' to `long long int' copy_problem.cpp:57: initializing argument 1 of `RR::RR(long long int)' copy_problem.cpp: In function `int main()': copy_problem.cpp:57: initializing temporary from result of `QQ::QQ(const RR& Release: 3.1 Environment: DJGPP How-To-Repeat: compile with g++ v3.1, e.g. g++ copy_problem.cpp
Fix: ?
State-Changed-From-To: open->analyzed State-Changed-Why: Confirmed. Regression from 3.0.4.
Responsible-Changed-From-To: unassigned->lerdsuwa Responsible-Changed-Why: Same bug as PR6944. Patch submitted for approval.
State-Changed-From-To: analyzed->closed State-Changed-Why: Fixed.