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]
Other format: [Raw text]

Re: stdcall function suffix and -mrtd on Win32


> 2005-04-25  Filip Navara  <navaraf@reactos.com>
>
>	* config/i386/winnt.c (i386_pe_encode_section_info):
>	Add stdcall suffix to functions that are implicitly declared
>	as stdcall when -mrtd option is used.



I don't like this because because it breaks projects (eg, apps that link
against legacy fortran libraries that use stdcall calling convention)
where the suffix is not desired. And what about Pascal objects? Pascal uses
stdcall too, but without suffix. 

Why do you think this is necessary?

Rather than change the established meaning of -mrtd, wouldn't a new switch
(with documentation) be preferable? 

Danny

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com


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