This is the mail archive of the email@example.com mailing list for the gas2 project.
|Index Nav:||[Date Index] [Subject Index] [Author Index] [Thread Index]|
|Message Nav:||[Date Prev] [Date Next]||[Thread Prev] [Thread Next]|
I agree GCC should be fixed. Obviously `#pragma weak' and __attribute__ ((weak)) should use the same mechanism (they don't now). `#pragma weak' lets you specify undefined externs as weak, which doesn't work with the __attribute__ ((weak)) syntax (I reported this before and suggested two possible ways to fix it, but noone ever did anything about it.)