[llvm-bugs] [Bug 31670] New: redefinition of default argument
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 17 06:03:43 PST 2017
https://llvm.org/bugs/show_bug.cgi?id=31670
Bug ID: 31670
Summary: redefinition of default argument
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Modules
Assignee: unassignedclangbugs at nondot.org
Reporter: vvasilev at cern.ch
CC: dgregor at apple.com, llvm-bugs at lists.llvm.org
Classification: Unclassified
/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.
--
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/20170117/380d970d/attachment-0001.html>
More information about the llvm-bugs
mailing list