<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [modules] identical declarations do not match"
href="https://bugs.llvm.org/show_bug.cgi?id=35793">35793</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[modules] identical declarations do not match
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Modules
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>gonzalobg88@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvm-bugs@lists.llvm.org, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>