This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Strange Warnings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]