-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Rainer Stamen on 8/21/2007 2:09 AM: > Hi, > > I try to compile a program which contains a call to > "get_current_dir_name". The compiler complains that the fucntion is > undeclared.
Probably because cygwin does not declare a function by that name. > From checking the archives I learned that the problem > existed already in the past. However the proposed fix (add #define > _GNU_SOURCE) seems not to work for me. Are you sure you didn't mean to use getcwd(), which cygwin DOES define, and without the need for _GNU_SOURCE, because it is specified by POSIX? - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGytle84KuGfSFAYARAvZOAJ9wyP20HyXe9jylQTT7qjcUV83fLACg0KRU YhEqb+4w72fWyoL/vvfUFx0= =xzrC -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/