On Tue, Sep 11, 2012 at 3:18 PM, Lawrence Crowl <cr...@googlers.com> wrote: > The contrib/config-list.mk tool appears to be suffering from bitrot. > The make failures for a limited subset of configurations consisted > exclusively of: > > cc1: warnings being treated as errors > ../../../../gcc/fixincludes/server.c: In function 'server_setup': > ../../../../gcc/fixincludes/server.c:195: error: ignoring return value > of 'getcwd', declared with attribute warn_unused_result > > The warning is correct. It is not clear what one should do upon > testing the return value, as server_setup does not signal errors. > > Suggestions? > > Do we consider contrib/config-list.mk dead?
I don't know whether contrib/config-list.mk is dead or not. But I do know that you will only get that error on Debian or Ubuntu systems, which by default pass some rather aggressive warning options. It would be fine to have the program crash if getcwd somehow fails. There is nothing useful that it can do in that unlikely case. Ian