Overview
| Artifact ID: | aa5ef2ecfc8785df33528c237f28b89b826648d3 |
|---|---|
| Ticket: | 3148192fffffffffffffffffffffffffffffffff
[load] broken |
| User & Date: | nijtmans on 2011-01-05 15:32:17 |
Changes
- icomment:
> ... simplification of the macros ... This 'simplifcation' was necessary for bug-fix #3135271. It appears that GCC > 4.0 was not a good criterion to decide whether -fvisibility=hidden is properly supported or not. In Tcl 8.6, which the introduction of -fvisibility=hidden, that shows horribly. TEA does not have -fvisibility support yet (and I don't plan to add that, as long as Tcl 8.6 is not mainstream). The solution to undefine STATIC_BUILD is not perfect. In fact, there is no reason to take over the -fvisibility=hidden flag, combination of both is actually what caused the problem. I don't know any extension - except tkImg ;-) - which uses -fvisibility=hidden, it only might be a problem with a GCC version which does not know __attribute__ ((visibility..)), But that means GCC < 3.3. See: <http://www.ohse.de/uwe/articles/gcc-attributes.html#func-visibility> And - even then - there is an easy workaround, -DNO_VIZ, which is handled by the latest TEA exactly in that situation.
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"