| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Sat, 29 Mar 2003 23:04:08 -0800 |
| From: | Alexander Enchevich <aenchevich AT shaw DOT ca> |
| Subject: | compile error in types.h? |
| To: | cygwin AT cygwin DOT com |
| Message-id: | <KFEIKCMKAMMMGNJFMFPHGEBICAAA.aenchevich@shaw.ca> |
| MIME-version: | 1.0 |
| X-MIMEOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200 |
| Importance: | Normal |
| X-Priority: | 3 (Normal) |
| X-MSMail-priority: | Normal |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |