[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#536570: gcc-4.3: Redeclaration with different visibility isn't spotted when using -fvisibility=hidden



On Sat, Jul 11, 2009 at 10:58:46AM +0200, Mike Hommey wrote:
> When using -fvisibility=hidden to define the global visibility to hidden,
> declaring a function with the global visibility, then redeclaring it
> with visibility default results in the symbol being exported.

Pleas rered the documentation. It stats:

|     "default"
|           Default visibility is the normal case for the object file
|           format.  This value is available for the visibility attribute
|           to override other options that may change the assumed
|           visibility of entities.

Bastian

-- 
Oh, that sound of male ego.  You travel halfway across the galaxy and
it's still the same song.
		-- Eve McHuron, "Mudd's Women", stardate 1330.1



Reply to: