Re: [PATCH] fix sdksyms for gcc3

2009-01-03 Thread Daniel Stone
On Sat, Jan 03, 2009 at 04:21:19AM -0200, Paulo César Pereira de Andrade wrote: Daniel Stone wrote: extern _X_EXPORT type-specoptional-newline symbol-name ignored... I'm pretty troubled by this. If it's C, then it's C. If it's not C, then it's not C. Pseudo-C, OTOH ... I believe

Re: [PATCH] fix sdksyms for gcc3

2009-01-02 Thread Paulo César Pereira de Andrade
Matthieu Herrb wrote: gcc 3.3 (at least) doesn't support visibility attributes, so _X_EXPORT expands to nothing. This breaks the awk script embedded in hw/xfree86/loader/sdksyms.sh that expects that an extern function declaration to be in the form extern __attribute__(___something___) type