Please set a follow-up next time. Also consider posting to
comp.lang.learn.c-c++.

Al-Burak wrote:
> I have a class that uses the file I/O functions in unistd.h such as
> 'access( const char*, F_OK )' and others. When compiling under UNIX or
> Cygwin there is no problem, but under Mingw this functions are not even
> recognized by the compiler when it displays
> 'gnu_io.cpp:10: error: `F_OK' undeclared (first use this function)'
> 'gnu_io.cpp:10: error: `access' undeclared (first use this function)'

Those functions are not part of C but one of the various Unix APIs. MingW
only provides a win32 API in addition to the standard APIs though.

Uli

-- 
http://gcc.gnu.org/faq.html
http://parashift.com/c++-faq-lite/

_______________________________________________
Help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to