From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-09-20 10:06:54
Victor A. Wagner Jr. wrote:
>>"pwd.c", line 29: error: operand types are incompatible ("int" and "void
>> if (getcwd(buffer, sizeof(buffer)) == NULL)
>>1 error detected in the compilation of "pwd.c".
> The error was introduced in v1.8 of pwd.c by removing the line
> #include <unistd.h>
> so now the compiler no longer knows that getcwd() returns a char* and
> defaults to int
> I suspect strongly that the line should be put back in
Put the include back, apparently when fixing the previous Comeau problem
we've introduced another. Somehow gcc did not error on that.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk