| [ Return to Bugs & Features | Post Text | Post File | Prev | Next ]
STR #3451
Application: | FLTK Library |
Status: | 5 - New |
Priority: | 1 - Request for Enhancement, e.g. asking for a feature |
Scope: | 2 - Specific to an operating system |
Subsystem: | Build Files |
Summary: | Option to disable visibility on Linux |
Version: | 1.4-feature |
Created By: | djcj |
Assigned To: | Unassigned |
Fix Version: | Unassigned |
Update Notification: | |
Trouble Report Files:
[ Post File ]No files
Trouble Report Comments:
[ Post Text ]
|
#1 | djcj 02:50 Feb 06, 2018 |
| On Linux the visibility of symbols marked with FL_EXPORT is always set to "default". I can only change this if I edit Fl_Export.H and add "-fvisibility=hidden" to the build flags. Why would I want to hide _all_ symbols? I was trying something out by building a library that's statically linked against FLTK and dynamically loaded, so I only wanted _my_ symbols to be visible. Would be nice if there was an option in the build settings or if I could at least override the macros in Fl_Export.H with some CPPFLAGS (well I guess I could use -DFl_Export_H -DFL_EXPORT -fvisibility=hidden, but an easier way would be appreciated). | |
[ Return to Bugs & Features | Post Text | Post File ]
|
| |