Bug 515

Summary: Compile python bindings with -fvisibility=hidden
Product: ns-3 Reporter: Gustavo J. A. M. Carneiro <gjcarneiro>
Component: python bindingsAssignee: Gustavo J. A. M. Carneiro <gjcarneiro>
Status: RESOLVED FIXED    
Severity: enhancement CC: ns-bugs, raj.b
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: the patch
also checks for gcc version >= 4.0.0

Description Gustavo J. A. M. Carneiro 2009-03-01 13:01:20 UTC
Created attachment 394 [details]
the patch

Like the summary says.  Following up on the advice in this page:

http://gcc.gnu.org/wiki/Visibility

Makes python bindings smaller and faster to load.

Tested on Ubuntu 8.10 and darwin-ppc regression host.

I think I need the release manager's approval to commit this, right?  I think it should be safe to apply.

Patch attached.
Comment 1 Gustavo J. A. M. Carneiro 2009-03-03 10:24:23 UTC
Created attachment 395 [details]
also checks for gcc version >= 4.0.0
Comment 2 Rajib Bhattacharjea 2009-03-12 15:51:28 UTC
4253:732b877beb23
4255:07f1fdd8a33e