public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Zack Weinberg <zack@codesourcery.com>
To: Frank Klemm <pfk@fuchs.offl.uni-jena.de>
Cc: gcc@gcc.gnu.org
Subject: Re: Strange Warnings
Date: Thu, 20 Sep 2001 18:04:00 -0000	[thread overview]
Message-ID: <20010920180442.S12089@codesourcery.com> (raw)
In-Reply-To: <20010919223758.C580@fuchs.offl.uni-jena.de>

On Wed, Sep 19, 2001 at 10:37:58PM +0200, Frank Klemm wrote:
> 
> test-0003-inc.c: In function 'test_0003_run':
> test-0003-inc.c:12: warning: passing arg 1 of 'floorf' as 'float' rather than 'double' due to prototype

Don't use -Wconversion.  It is only useful for shakedown compiles
after converting an old K+R program to ANSI prototypes.

> test-0003-inc.c:12: warning: cast does not match function type

What switch did you use to get this warning?

zw

  reply	other threads:[~2001-09-20 18:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-19 13:40 Frank Klemm
2001-09-20 18:04 ` Zack Weinberg [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-05-05  1:12 Strange warnings Ryszard Kabatek
1999-05-05  5:45 ` Gabriel Dos_Reis
1999-05-31 21:36   ` Gabriel Dos_Reis
1999-05-31 21:36 ` Ryszard Kabatek
1998-08-17 17:41 Strange Warnings Sebastian Ritterbusch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010920180442.S12089@codesourcery.com \
    --to=zack@codesourcery.com \
    --cc=gcc@gcc.gnu.org \
    --cc=pfk@fuchs.offl.uni-jena.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).