On mingw, I'm seeing this error in the C++ namespace tests:
../gllib/unistd.h:794: error: invalid conversion from `char*(*)(char*, int)' to
`char*(*)(char*, size_t)'
This should fix it:
2010-04-03 Bruno Haible
unistd: Fix C++ test error on mingw.
* lib/unistd.in.h (getcwd):
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
getcwd does not need replacement on mingw, even though it fails runtime
tests in getcwd.m4, and even though cross-compilation was pessimistic.
This fixes things, and adds a simple unit test to prove that getcwd is
behaving reasonably.
- --
Don't work