Re: One warning in flower

2011-05-04 Thread Ralph Palmer
On Tue, Apr 26, 2011 at 4:54 AM, Patrick Horgan phorg...@gmail.com wrote: In flower/file-name.cc there's this: string get_working_directory () { char cwd[PATH_MAX]; getcwd (cwd, PATH_MAX); return string (cwd); } Which causes this warning: file-name.cc: In function 'std::string

Re: One warning in flower

2011-05-04 Thread Graham Percival
On Wed, May 04, 2011 at 07:41:59AM -0400, Ralph Palmer wrote: On Tue, Apr 26, 2011 at 4:54 AM, Patrick Horgan phorg...@gmail.com wrote: In flower/file-name.cc there's this: Greetings Patrick, and everyone else - I don't understand much of this, but it looks like you're requesting an

One warning in flower

2011-04-26 Thread Patrick Horgan
In flower/file-name.cc there's this: string get_working_directory () { char cwd[PATH_MAX]; getcwd (cwd, PATH_MAX); return string (cwd); } Which causes this warning: file-name.cc: In function 'std::string get_working_directory()': file-name.cc:100:25: warning: ignoring return value of