[llvm-bugs] [Bug 39644] New: namespaces inside other unnamed namespaces can cause conflicts in modular builds

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Nov 12 18:35:23 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=39644

            Bug ID: 39644
           Summary: namespaces inside other unnamed namespaces can cause
                    conflicts in modular builds
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Modules
          Assignee: unassignedclangbugs at nondot.org
          Reporter: andrewjcg at gmail.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Having two different blocks with the same namespace inside unnamed namespaces
which cross module binaries trigger build errors, presumably because the two
namespaces are completely separate and so conflict.

Repro: https://reviews.llvm.org/differential/diff/173801/

-- 
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/20181113/c123e6e9/attachment.html>


More information about the llvm-bugs mailing list