------- Comment #4 from dannysmith at users dot sourceforge dot net  2006-09-15 
03:51 -------
(In reply to comment #3)
>
> If you are defining expf with TARGET_C99_FUNCTIONS set to 1, then you have to
> use -fno-builtin-exp.
> So just to make sure this is with TARGET_C99_FUNCTIONS set to 1?

Yes.
In build which shows this error, I have 
#define TARGET_C99_FUNCTIONS 1 in mingw32.h

In mingw32 C runtime <math.h>, expf is defined as:
extern __inline float __attribute__(cdecl) expf (float x)
  {return (float) exp (x);} 

expf is also defined in runtime library as well.

Danny


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29094

Reply via email to