[Bug libstdc++/64103] New: conflicting definitions in parallel/algo.h and algorithmfwd.h
doko at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 28 13:57:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64103
Bug ID: 64103
Summary: conflicting definitions in parallel/algo.h and
algorithmfwd.h
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
[forwarded from https://bugs.debian.org/770843]
the bug reporter mentions this is accepted by g++, but not by clang++ (using
libstdc++), giving the following error message:
In file included from
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/parallel/algorithm:37:
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/parallel/algo.h:2207:53:
error: redefinition of default argument
__gnu_parallel::_Parallelism __parallelism_tag
^
/usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/parallel/algorithmfwd.h:552:36:
note: previous definition is here
__gnu_parallel::_Parallelism __parallelism
More information about the Gcc-bugs
mailing list