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

Patch for remove message "stdcall directive ignored" for mingw32


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.




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