[LLVMbugs] [Bug 11797] New: #pragma GCC visibility push(default) not working properly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 18 18:15:42 PST 2012


             Bug #: 11797
           Summary: #pragma GCC visibility push(default) not working
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: rafael.espindola at gmail.com
        ReportedBy: rafael.espindola at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

When building with -fvisibility=hidden clang produces a hidden symbol for foo:

namespace std __attribute__ ((__visibility__ ("default"))) {
#pragma GCC visibility push(default)
void foo()  {
#pragma GCC visibility pop

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list