This is the mail archive of the gcc-help@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]

GCC:- Some warnings I do not understand.


Hi 
   I am using gcc to compile some 'c' code (with the -traditional flag being set) and I am getting the following warning.

  filename.c:46: warning: conflicting types for built-in function cosf.

  The line that cause this is

  extern float cosf();

  I was wondering if you could help me as to why am I getting this warning and what is the best way of getting rid of it?

  Thanks
     Phil
:



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