[llvm-bugs] [Bug 35793] New: [modules] identical declarations do not match
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 2 02:07:21 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=35793
Bug ID: 35793
Summary: [modules] identical declarations do not match
Product: clang
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Modules
Assignee: unassignedclangbugs at nondot.org
Reporter: gonzalobg88 at gmail.com
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
The error in a nutshell:
In module 'bar' imported from foo.hpp:6:
c++/v1/tuple:1015:25: error:
'std::__1::__find_detail::__find_exactly_one_checked::__matches' from module
'bar' is not
present in definition of '__find_exactly_one_checked<_T1, _Args...>'
provided earlier
static constexpr bool __matches[] = {is_same<_T1, _Args>::value...};
^
c++/v1/tuple:1015:25: note: declaration of '__matches' does not match
static constexpr bool __matches[] = {is_same<_T1, _Args>::value...};
^
I am trying to come up with a MWE but compiling with -E -frewrite-imports (or
-P -E -frewrite-imports -fno-rewrite-includes) generates a file that does not
contain the error.
Any ideas on how to proceed?
--
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/20180102/1cfae755/attachment-0001.html>
More information about the llvm-bugs
mailing list