This is the mail archive of the gcc@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: A Linux/libc 5 patch for egcs 1.1.2


In article <m10G7KR-000390C.cygnus.egcs@ocean.lucon.org> you write:
>
>Here is a libio patch for libc 5 using __attribute__ instead of pragma.
>It is totally untested since I no longer have libc 5 machine. Someone
>should check if it compiles and runs on libc 5.
[snip]
>+void _cleanup () __attribute__ ((weak, "_IO_cleanup"));
[snip]

This isn't the correct syntax shurely? Don't you mean:

void _cleanup () __attribute__ ((weak, alias("_IO_cleanup")));

Assuming I'm right, if egcs doesn't complain about the format syntax, it
should.

Jifl
-- 
Cygnus Solutions, 35 Cambridge Place, Cambridge, UK.  Tel: +44 (1223) 728762
"Women marry hoping their husbands will change, men||Home e-mail: jifl @ 
marry hoping their wives never do. Both are rare." ||     jifvik.demon.co.uk
Help fight spam! http://spam.abuse.net/  These opinions are all my own fault


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