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://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
From: | "Dave Korn" <dk AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: incompatible types in header files |
Date: | Tue, 19 Oct 2004 14:54:47 +0100 |
MIME-Version: | 1.0 |
In-Reply-To: | <200410191343.i9JDhqUn015478@tyr.informatik.fh-fulda.de> |
Message-ID: | <NUTMEGXsL1c00goZolm00000052@NUTMEG.CAM.ARTIMI.COM> |
X-OriginalArrivalTime: | 19 Oct 2004 13:54:47.0437 (UTC) FILETIME=[32015BD0:01C4B5E3] |
> -----Original Message----- > From: cygwin-owner On Behalf Of Siegmar Gross > Sent: 19 October 2004 14:44 > Hi, > > /usr/include/sys/features.h suggests to define "__rtems__" if you want > POSIX functionality. The copy on my system doesn't make any 'suggestions' at all. It just has a bunch of feature-test macros enclosed in #ifdef-guards. > Unfortunately there are incompatible types so that > the compilation breaks. That's because adding a #define to your code doesn't actually turn cygwin into the RTEMS operating system. If you #defined __svr4__, it wouldn't turn your PC into a SunOS box either. Merely #defining a feature test macro doesn't automagically implement the feature if cygwin doesn't already have it. It just makes the feature test invalid. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |