[llvm-bugs] [Bug 33746] New: [modules] static data member already has an initializer

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 11 09:01:50 PDT 2017


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

            Bug ID: 33746
           Summary: [modules] static data member already has an
                    initializer
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: gonzalobg88 at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18776
  --> https://bugs.llvm.org/attachment.cgi?id=18776&action=edit
Test to reproduce the issue

The test (see attachments) compiles fine without modules: 

clang++ -std=c++1z -Iinclude/ -ftemplate-backtrace-limit=0 test.cpp

but fails to compile with modules: 

clang++ -std=c++1z -fmodules -gmodules -fno-implicit-module-maps -Iinclude/
-fmodule-map-file=include/module.modulemap
-fmodule-map-file=/Users/gnzlbg/pool/include/c++/v1/module.modulemap
-fmodules-cache-path=module.cache -ftemplate-backtrace-limit=0 test.cpp

-- 
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/20170711/2df74669/attachment.html>


More information about the llvm-bugs mailing list