[LLVMbugs] [Bug 18174] New: Inconsistent use of visibility attribute in namespaces

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Dec 7 16:59:44 PST 2013


            Bug ID: 18174
           Summary: Inconsistent use of visibility attribute in namespaces
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

We produce a hidden or default symbol in the following test depending on BAR
being defined or not

namespace test {
  namespace foo {
    void f();
  namespace foo {
    void f() {};
#ifdef BAR
namespace test {
  namespace foo __attribute__((visibility("hidden"))) {

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131208/5b5673c1/attachment.html>

More information about the llvm-bugs mailing list