delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/02/02/10:49:55

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3E3D3E1E.2F452F04@phekda.freeserve.co.uk>
Date: Sun, 02 Feb 2003 15:49:50 +0000
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: DJGPP headers: C99, free-standing, bugfixes [PATCH]
References: <E18fM4J-0000kK-00 AT phekda DOT freeserve DOT co DOT uk>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Richard Dawe wrote:
[snip]
> Below is a patch to add C99 sections to the remaining headers.
[snip]

It appears I forgot to recompile after a change to <stdint.h>, which broke the
build. So the patch is broken.

__STDC_VERSION__ is not currently defined by default by gcc, because it
defaults to C89 mode. The change I made to <stdint.h> meant that the
definitions would only be made if the compiler was invoked with -std=c99,
which defines __STRICT_ANSI__ and breaks the compilation of other sources.

The solution is to make the free-standing definitions for the C99 section to
be made if C99 || !__STRICT_ANSI__, as they are in the non-free-standing
section.

Patch to follow...

Bye, Rich =]

-- 
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]

- Raw text -


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