Description of problem: I just tried to compile package festival-1.4.2-19, from Redhat Fedora Core 1. The compiler said 1. EST_Pathname_unix.cc(148): warning #879: returning reference to local variable The source code is EST_Pathname &operator += (EST_Pathname p, const EST_Pathname addition) { p = EST_Pathname::append(p, addition); return p; } I think the compiler is correct. Maybe it would be better to have the first parameter as a reference ? EST_Pathname &operator += (EST_Pathname & p, const EST_Pathname addition) { p = EST_Pathname::append(p, addition); return p; } 2. EST_Pathname_unix.cc(150): warning #879: returning reference to local variable Duplicate. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This is probably better reported to the upstream developers -- <http://www.cstr.ed.ac.uk/projects/festival/>.