This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch/i386]: -mrtd vs system library declarations
- From: Michael Matz <matz at suse dot de>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 22 Jul 2003 19:47:25 +0200 (CEST)
- Subject: Re: [Patch/i386]: -mrtd vs system library declarations
Hi,
On 22 Jul 2003, Gabriel Dos Reis wrote:
> | > extern string-literal { declaration-seq }
> | > extern string-literal declaration
> |
> | In principle I agree with you; however, adding support for this
> | notation to the C front end would be tremendously more work than
> | adding some machine-specific #pragmas.
>
> I hear you, but I'm skeptical about the overall cost.
Well, usually you are vehemently against introducing language extensions
(for good reasons).
extern "stdcall" bla();
would be one for C. So you are inconsistent at least in your requests,
especially because the #pragma solution _does_ provide something inside
the language.
Ciao,
Michael.