Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: [OT] RE: incompatible types in header files Date: Tue, 19 Oct 2004 15:15:24 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: Message-ID: X-OriginalArrivalTime: 19 Oct 2004 14:15:24.0343 (UTC) FILETIME=[13423C70:01C4B5E6] > -----Original Message----- > From: cygwin-owner On Behalf Of Dave Korn > Sent: 19 October 2004 14:55 Sorry, there was one more thing I should have pointed out: > > -----Original Message----- > > From: cygwin-owner On Behalf Of Siegmar Gross > > Sent: 19 October 2004 14:44 > > /usr/include/sys/features.h suggests to define "__rtems__" You should *never* define *anything* that begins with two underscores, unless you are writing a compiler or system library. That's not your namespace, and you should keep out of it! Anything beginning with two underscores _belongs_ to the internals of the compiler/libc implementation, and if you define such macros / functions / variables / any other kind of name in your code, your code is no longer valid C according to the language spec. [ Nor are you allowed to define anything beginning with 'is', since all such names are reserved for the is-{space,print,alpha,upper,lower} family of functions. The same goes for many of the other library functions; for full details, see 7.1.3 "Reserved identifiers" in the C language spec, and also 7.26 "Future library directions". ] 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/