libc_hidden_proto vs __attribute__

Roland McGrath roland@frob.com
Sat Aug 3 20:22:00 GMT 2002


AFAICT, libc_hidden_proto causes the symbol to lose its special attributes,
e.g. if it had __attribute__((noreturn)).  For noreturn this meanings
spurious warnings in libc code, but for const it could hurt optimization
and for any weirder ones (regparm!) it could really be a problem.



More information about the Libc-hacker mailing list