This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [3.0] Avoid warnings in float.h
- To: "Schirmer, Hartmut" <SchirmerH at Innovative-Systems dot de>
- Subject: Re: [3.0] Avoid warnings in float.h
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: Wed, 10 Oct 2001 11:50:14 -0700
- cc: "'gcc-patches at gcc dot gnu dot org'" <gcc-patches at gcc dot gnu dot org>
--On Wednesday, October 10, 2001 08:29:11 AM +0200 "Schirmer, Hartmut"
<SchirmerH@Innovative-Systems.de> wrote:
> Hi,
>
> GNU C version 3.0.2 20011007 (prerelease) (sh-hitachi-coff) warns
> about its own float.h:
>
> In file included from frmrd.c:40:
> ../gcc-sh-3.0.2/[...]/float.h:133:5: warning: "__STDC_VERSION__" is not
> defined
>
> This patch fixes this warning. It also fixes all other float-*.h
> with the same problem.
>
> Should also be applied to the mainline.
This patch is fine. Because it is a GCC 2.95.x regression, I installed
it, both on the branch and on the mainline, after looking at it
very carefully.
You did not send a ChangeLog entry for your patch or indicate where it
has been tested. Please review the submission instructions.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com