This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
[aenchevich@shaw.ca: compile error in types.h?]
- From: Christopher Faylor <cgf at redhat dot com>
- To: cygwin-developers at cygwin dot com
- Date: Sun, 30 Mar 2003 11:39:57 -0500
- Subject: [aenchevich@shaw.ca: compile error in types.h?]
Should the cygwin/types.h in cygwin/fs.h and cygwin/in.h actually be
sys/types.h?
cgf
----- Forwarded message from Alexander Enchevich <aenchevich at shaw dot ca> -----
From: Alexander Enchevich <aenchevich at shaw dot ca>
To: cygwin at cygwin dot com
Subject: compile error in types.h?
Date: Sat, 29 Mar 2003 23:04:08 -0800
Mail-Followup-To: cygwin at cygwin dot com
I am getting this compilation error in types.h:
-----------------------------
c++ -O2 -g -O0 -march=i586 -Wall -Wunused -c -o RevPlayer.o
RevPlayer.cpp
In file included from /usr/include/cygwin/in.h:21,
from /usr/include/netinet/in.h:14,
from aeTCPServer.h:4,
from RevServer.h:4,
from RevPlayer.h:4,
from RevPlayer.cpp:1:
/usr/include/cygwin/types.h:120: syntax error before `;' token
-----------------------------
On line 120 in types.h is this:
#ifndef __int16_t_defined
#define __int16_t_defined
typedef __int16_t int16_t;
#endif
I can make it compile by including this at the top of types.h:
#include <sys/types.h>
, but I am not sure if this is the proper solution. If it is - whom to
contact? If not - how to fix it?
Thanks
(Sources attached)
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
----- End forwarded message -----