This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: stdcall function suffix and -mrtd on Win32
- From: Danny Smith <danny_smith_0000 at yahoo dot co dot nz>
- To: navaraf at reactos dot com
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 26 Apr 2005 16:12:50 +1200 (NZST)
- Subject: Re: stdcall function suffix and -mrtd on Win32
- Reply-to: dannysmith at users dot sourceforge dot net
> 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