[Bug c++/41508] New: error: no matching function for call to ...

2009-09-29 Thread mwarshofsk at aol dot com
Version: 4.1.2 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mwarshofsk at aol dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41508

[Bug c++/41508] error: no matching function for call to ...

2009-09-29 Thread mwarshofsk at aol dot com
--- Comment #2 from mwarshofsk at aol dot com 2009-09-29 19:24 --- This is the method where I am receiving the compiler error: enum err_stat EJPeriod::rollup( List &src, List &dst, Date &startDt, Date &endDt ) { // then theres a bunch

[Bug c++/41508] error: no matching function for call to ...

2009-09-29 Thread mwarshofsk at aol dot com
--- Comment #4 from mwarshofsk at aol dot com 2009-09-29 19:32 --- Here's the definition for that call ... I think you're on to something String get_job_title_mgmt_ind() const { return _jobTitleMgmtInd; }; When I change the constructor to "non reference" paramters

[Bug c++/41508] error: no matching function for call to ...

2009-09-29 Thread mwarshofsk at aol dot com
--- Comment #7 from mwarshofsk at aol dot com 2009-09-29 20:34 --- Comment 6 is perfect! That makes total sense. Thanks so much! Actually, I bet the Solaris compiler is implicitly treating this same code as a const & String behind the scenes. We'll just explicitly make that pr