emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "incompatible implicit declaration" warnings with GCC 4.2.1


From: Eli Zaretskii
Subject: Re: "incompatible implicit declaration" warnings with GCC 4.2.1
Date: Mon, 22 Oct 2007 23:08:47 +0200

> Date: Mon, 22 Oct 2007 17:24:49 +0200
> From: "Juanma Barranquero" <address@hidden>
> 
>   gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c
> -gstabs+ -g3 -mno-cygwin -mtune=pentium4 -O2  -Di386 -D_CRTAPI1=_cdecl
> -Demacs=1 -DWINDOWSNT -DDOS_NT -DHAVE_CONFIG_H -I../nt/inc -D_UCHAR_T
> -DHAVE_NTGUI=1 -DUSE_CRT_DLL=1 -DPURESIZE=5000000 -o
> oo-spd/i386/w32fns.o w32fns.c
>   w32fns.c: In function 'gamma_correct':
>   w32fns.c:1241: warning: incompatible implicit declaration of
> built-in function 'pow'
>   w32fns.c: In function 'w32_abort':
>   w32fns.c:9127: warning: incompatible implicit declaration of
> built-in function 'abort'

Does it help to include <math.h> and <stdlib.h> in w32fns.c?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]