On Sat, 12 Feb 2005, Felipe Alfaro Solana wrote:
I've seen Mandrake has started compiling KDE with -fvisibility=hidden. They say this improve load times considerably. Has this flag other nasty consequences?
It shouldn't, as long as the code is fairly well behaved. We're starting to use this for OpenOffice.org as well, any large C++ app can greatly benefit from this option because the rather un-optimized dynamic linker doesn't have to load and resolve as many symbols at run-time. You should get link-time errors if symbols that aren't explicitly marked visible are needed by some other part of the program.
Dan