This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch for remove message "stdcall directive ignored" for mingw32
- To: <egcs-patches at cygnus dot com>
- Subject: Patch for remove message "stdcall directive ignored" for mingw32
- From: "Antonio M. O. Neto" <anmendes at cruzeironet dot com dot br>
- Date: Fri, 10 Jul 1998 22:45:01 -0300
To remove the message of " stdcall directive ignored ", go until the
file
/egcs-19980531/gcc/config/i386/i386.c
and change in
if (TREE_CODE (type) != FUNCTION_TYPE
&& TREE_CODE (type) != FIELD_DECL
&& TREE_CODE (type) != TYPE_DECL)
return 0;
increasing
&& TREE_CODE (type) != METHOD_TYPE
Ready, the message will be removed the stdcall it will become interpreted
correctly by the compiler.