Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b42dd7228e19c6a78e30e8ba9cdf073a6816312b
Ticket: 2959069fffffffffffffffffffffffffffffffff
Support for -fvisibility=hidden
User & Date: das on 2010-02-26 14:15:44
Changes

  1. icomment:
    as mentioned, IMO it would be better to have a configure check for __attribute__ ((visibility("default"))), gcc > 3 is not the only compiler that supports this, so the check in tcl.h will miss some cases and be a regression over the current state of things.
    
    as far as discovering mistakenly exported symbols, that's what the 'checkexports' and 'checkstubs' makefile targets are there for... I try to remember to run these shortly before a release to make sure that we didn't forget any decorations.
    
    All that said, I am strongly in favor of using -fvisibility=hidden when available, I just think it would be a shame to loose  the extra flexibility the current scheme affords us w.r.t non-gcc compilers/linkers.
    
    
  2. login: "das"
  3. mimetype: "text/plain"
  4. username: "das"