Nicholas Wourms wrote:

[SNIP]

#define strong_alias(name, aliasname) \
 extern __typeof__(name) aliasname __attribute__((__alias__(#name))); \
 __asm__(".def \"_" #aliasname "\"; .scl 2; .type 32; .endef\n");
                 ^^              ^^
Sorry,

Ack, I pasted an older version of the macro, which was over quoted. This should be the one that works:

#define strong_alias(name, aliasname) \
 extern __typeof__(name) aliasname __attribute__((__alias__(#name))); \
 __asm__(".def _" #aliasname "; .scl 2; .type 32; .endef\n");

Cheers,
Nicholas



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



Reply via email to