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]

Re: Implement pragma redefine_extname


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


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