This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Implement pragma redefine_extname
- To: "Martin v. Loewis" <martin at v dot loewis dot de>
- Subject: Re: Implement pragma redefine_extname
- From: Zack Weinberg <zack at codesourcery dot com>
- Date: Sat, 10 Nov 2001 14:29:21 -0800
- Cc: gcc-patches at gcc dot gnu dot org
- References: <200111102118.fAALIDn11877@mira.informatik.hu-berlin.de>
On Sat, Nov 10, 2001 at 10:18:13PM +0100, Martin v. Loewis wrote:
> This patch fixes the problem reported in c/4850, for C and C++.
> #pragma redefine_extname is a SunPRO extension to rename library entry
> points depending on the API version selected. If it is not supported,
> the headers fall back to #defines, which may result in strange
> renamings, e.g. of methods.
Why doesn't this use the existing machinery for __attribute__ ((alias)),
which is effectively the same feature?
zw