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 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: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 , 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 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/ ]