Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-09-20 09:03:24

Larry Evans wrote:

> pwd.c:
> Comeau C/C++ 4.3.3 (Jan 30 2004 15:40:54) for LINUX_INTEL_ELF
> Copyright 1988-2004 Comeau Computing. All rights reserved.
> MODE:non-strict warnings C90
> "pwd.c", line 29: error: operand types are incompatible ("int" and "void
> *") if (getcwd(buffer, sizeof(buffer)) == NULL)

Como just drives me crazy. Here's what "The single UNIX specification" has to

#include <unistd.h>
char *getcwd(char *buf, size_t size);

The return type should be 'char*', not 'int'. Maybe, you could file a bug
report against Como?

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at