On 16/10/2009 12:01, Jon TURNEY wrote:
> Hmm... wouldn't it be better to avoid this ELF-ism by actually checking if the
> target supports -fvisibility=hidden and __attribute__
> ((visibility("default"))) by using them (with -Werror) in the autoconf check?
> (and then respecting that config check in pixman-compiler.h?)I'm not aware of any other platforms besides Cygwin (and MinGW, I suppose) where GCC4 accepts the -fvisibility option but doesn't do anything with it, producing a warning instead. IIRC the same applied to earlier versions of Solaris, but that doesn't seem to be the case anymore. So no, I'm not sure its worth it to go that route just for us. Yaakov _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
