<html>
<head>
<base href="https://llvm.org/bugs/" />
</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 --- - redefinition of default argument"
href="https://llvm.org/bugs/show_bug.cgi?id=31670">31670</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>redefinition of default argument
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</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>vvasilev@cern.ch
</td>
</tr>
<tr>
<th>CC</th>
<td>dgregor@apple.com, llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>/Users/vvassilev/workspace/llvm-git/inst/bin/clang -cc1 -triple
x86_64-apple-macosx10.11.0 -fsyntax-only -resource-dir
/Users/vvassilev/workspace/llvm-git/inst/bin/../lib/clang/4.0.0 -I
includes/Users/vvassilev/workspace/root/gui/fitpanel/src/ -I
includes/Users/vvassilev/workspace/root_obj_cmake/include -stdlib=libc++
-std=c++11 -fno-autolink -ferror-limit 19 -fmodules
-fmodules-cache-path=./mod.cache
-fmodule-map-file=includes/Users/vvassilev/workspace/root_obj_cmake/include/module.modulemap
-fcxx-exceptions -fexceptions -fmodules-local-submodule-visibility -x c++
TFitEditor.cxx -nostdsysteminc -isystem
includes/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/
-isystem includes/usr/include/ -w
In file included from TFitEditor.cxx:2:
In file included from
/Users/vvassilev/workspace/reproducers/PR_default_args_deque/includes/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/queue:1:
/Users/vvassilev/workspace/reproducers/PR_default_args_deque/includes/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/deque:5:83:
error: redefinition of default argument
void copy(typename enable_if<__is_random_access_iterator<_RAIter>::value>::type
* = 0);
^ ~
/Users/vvassilev/workspace/reproducers/PR_default_args_deque/includes/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/deque:5:83:
note: previous definition is here
void copy(typename enable_if<__is_random_access_iterator<_RAIter>::value>::type
* = 0);
^ ~
1 error generated.</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>