On Friday 25 May 2007, Albert Strasheim (JIRA) wrote: > Here's a first try at a patch for Linux and friends. It uses the > [ax_cflags_gcc_option|http://autoconf-archive.cryp.to/ax_cflags_gcc_o >ption.html] macro to check if GCC supports the -fvisibility=hidden > option and a #ifdef to check if the GCC version is >= 4 so that the > visibility attribute can be added.
Some systems have gcc 3.x with visibility patch installed. If configure checks -fvisibility and code the gcc version, they are not in sync. -fvisibility-inlines-hidden does not work on x86_64 (compilation fails in general). Teemu
