This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Strange Warnings
- To: Frank Klemm <pfk at fuchs dot offl dot uni-jena dot de>
- Subject: Re: Strange Warnings
- From: Zack Weinberg <zack at codesourcery dot com>
- Date: Thu, 20 Sep 2001 18:04:42 -0700
- Cc: gcc at gcc dot gnu dot org
- References: <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