cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
Cygwin
Cygwin
Jan 21, 2009 at 7:26am UTC
MuneebShakoor
(1)
I have installed Cygwin along with mingw (for windows). Now when I #include <tchar.h>, what ever function from tchar.h I use, gcc generates an error: first define xyz function first.
Anyone has an idea how to compile this file?
Last edited on
Jan 21, 2009 at 7:35am UTC
Jan 21, 2009 at 10:38am UTC
kbw
(9488)
Why do you need tchar.h? Isn't that a Windows header file?
Jan 29, 2009 at 4:58am UTC
helios
(17607)
Actually, it is. Cygwin doesn't include Windows headers.
MuneebShakoor: Don't you mean wchar.h?
Topic archived. No new replies allowed.