[Bug c/9601] -mrtd switch/stdcall attribute raises warnings for __buitltin functions
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 20 08:12:00 GMT 2006
------- Comment #5 from fxcoudert at gcc dot gnu dot org 2006-09-20 08:12 -------
> double __attribute__((cdecl)) sqrt (double);
> double __attribute__((stdcall)) log (double);
> double cos (double);
With this code, we still (gcc-4.2) get:
$ gcc -c -W -Wall -mrtd b.c
b.c:1: warning: conflicting types for built-in function ÂsqrtÂ
$ gcc -c -W -Wall b.c
b.c:2: warning: conflicting types for built-in function ÂlogÂ
This is not related to mingw32, as the same warnings happen on i386-pc-mingw32
and i686-pc-linux-gnu.
--
fxcoudert at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fxcoudert at gcc dot gnu dot
| |org
Component|target |c
GCC target triplet|i386-pc-mingw32 |
Last reconfirmed|2003-07-11 15:03:36 |2006-09-20 08:12:19
date| |
Summary|[win32] -mrtd switch/stdcall|-mrtd switch/stdcall
|attribute raises warnings |attribute raises warnings
|for __buitltin functions |for __buitltin functions
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9601
More information about the Gcc-bugs
mailing list