delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/04/27/20:06:03

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Mon, 27 Apr 2015 20:05:55 -0400
Message-Id: <201504280005.t3S05t2U020439@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <mhmgck$ims$1@usenet.news.interia.pl> (wswiktorSP@Mpoczta.fm)
Subject: Re: GCC 5.1.0 problem with <dos.h>
References: <mhmgck$ims$1 AT usenet DOT news DOT interia DOT pl>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

My guess is that gcc's change to default to C99 semantics has broken
this code in sys/cdefs.h, despite the comment that says it shouldn't:

/* Ensure that always traditional GNU extern inline semantics are used
   (aka -fgnu89-inline) even if ISO C99 semantics have been specified.  */
#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
# define _EXTERN_INLINE  extern __inline__ __attribute__ ((__gnu_inline__))
#else
# define _EXTERN_INLINE  extern __inline__
#endif

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019