[Bug c++/80947] [6/7/8 Regression] Different visibility for the lambda and its capture list members with -fvisibility=hidden

paolo.carlini at oracle dot com gcc-bugzilla@gcc.gnu.org
Mon Sep 18 09:20:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80947

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo.carlini at oracle dot com,
                   |                            |redi at gcc dot gnu.org

--- Comment #12 from Paolo Carlini <paolo.carlini at oracle dot com> ---
As far as the snippet in Comment #4 is concerned, current trunk seems fine to
me. To be clear, I'm only adding -fvisibility-inlines-hidden
-fvisibility=hidden to the command line (which reproduces the issue in
gcc-7-branch; in fact -fvisibility=hidden is enough).

Jonathsn, can you double check and confirm that the snippet is supposed to
require only the above?


More information about the Gcc-bugs mailing list