2011/6/11 Chia-I Wu <olva...@gmail.com>: > I got this warning after applying the patch > > ../../../src/mapi/mapi/entry_x86-64_tls.h:69:1: warning: > ‘x86_64_current_tls’ used but never defined > > Maybe the function declaration should be decorated with "extern"?
Yeah, should work at least, just checked that caling the function works with extern as well (with same results), only taking its address would fail again. So I think we can leave it declared as extern. Updated patch attached. Ben
0001-mapi-Fix-tls-with-shared-es-glapi-on-x86-64.patch
Description: Binary data
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev