help-gplusplus
[Top][All Lists]
Advanced

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

Re: Flag to turn off "lowering visibility" warning?


From: Paul Pluzhnikov
Subject: Re: Flag to turn off "lowering visibility" warning?
Date: Wed, 25 Oct 2006 11:54:44 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

Braden McDaniel <braden@endoframe.com> writes:

>>  http://www.catb.org/~esr/faqs/smart-questions.html
>
> Now exactly what are you suggesting?

That you didn't provide enough details to answer your question
meaningfully. In particular, you didn't:

1. give your command line
2. didn't give correct gcc version info
3. didn't give any hints about the "problem" symbol (is it a system one?
   one of your own? is there just one, or hundreds of them?)

> The question was targeted at persons who are familiar with this warning.

Ok, we'll wait for such persons to respond.

In the mean time, note:

[1] The warning probably only appears when -Wattributes is in effect,
    and possibly -fvisibility=....

[2] The string "lowering visibility of" does not appear anywhere
    in the official gcc-4.1.1 source tree.
    
    It does appear in this patch:
      http://www.redhat.com/archives/fedora-cvs-commits/2006-July/msg02635.html
    so, you probably are running gcc-4.1.1 as shipped by RedHat, in which
    case identifying the RPM would have been better.

[3] You'll probably get a better answer if you can produce a small
    test case showing the same problem.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]