public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/64103] New: conflicting definitions in parallel/algo.h and algorithmfwd.h
@ 2014-11-28 13:57 doko at gcc dot gnu.org
  2014-11-29 16:58 ` [Bug libstdc++/64103] " redi at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: doko at gcc dot gnu.org @ 2014-11-28 13:57 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/64103] conflicting definitions in parallel/algo.h and algorithmfwd.h
  2014-11-28 13:57 [Bug libstdc++/64103] New: conflicting definitions in parallel/algo.h and algorithmfwd.h doko at gcc dot gnu.org
@ 2014-11-29 16:58 ` redi at gcc dot gnu.org
  2014-11-29 16:59 ` redi at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2014-11-29 16:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64103

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Already fixed at r217050


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/64103] conflicting definitions in parallel/algo.h and algorithmfwd.h
  2014-11-28 13:57 [Bug libstdc++/64103] New: conflicting definitions in parallel/algo.h and algorithmfwd.h doko at gcc dot gnu.org
  2014-11-29 16:58 ` [Bug libstdc++/64103] " redi at gcc dot gnu.org
@ 2014-11-29 16:59 ` redi at gcc dot gnu.org
  2014-12-02 16:33 ` doko at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2014-11-29 16:59 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64103

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |5.0

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
And additionally r217069

Those fixes would be safe to backport.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/64103] conflicting definitions in parallel/algo.h and algorithmfwd.h
  2014-11-28 13:57 [Bug libstdc++/64103] New: conflicting definitions in parallel/algo.h and algorithmfwd.h doko at gcc dot gnu.org
  2014-11-29 16:58 ` [Bug libstdc++/64103] " redi at gcc dot gnu.org
  2014-11-29 16:59 ` redi at gcc dot gnu.org
@ 2014-12-02 16:33 ` doko at gcc dot gnu.org
  2014-12-02 16:37 ` doko at gcc dot gnu.org
  2014-12-02 16:48 ` redi at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: doko at gcc dot gnu.org @ 2014-12-02 16:33 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64103

--- Comment #3 from Matthias Klose <doko at gcc dot gnu.org> ---
Author: doko
Date: Tue Dec  2 16:32:24 2014
New Revision: 218278

URL: https://gcc.gnu.org/viewcvs?rev=218278&root=gcc&view=rev
Log:
2014-12-02  Matthias Klose  <doko@ubuntu.com>

        PR libstdc++/64103
        Backport from mainline
        2014-11-03  Paolo Carlini  <paolo.carlini@oracle.com>

        * include/parallel/algo.h: Do not use default arguments in function
        template redeclarations (definitions).

        2014-11-04  Jonathan Wakely  <jwakely@redhat.com>

        * include/parallel/numeric.h: Do not use default arguments in function
        template redeclarations (definitions).

Modified:
    branches/gcc-4_9-branch/libstdc++-v3/ChangeLog
    branches/gcc-4_9-branch/libstdc++-v3/include/parallel/algo.h
    branches/gcc-4_9-branch/libstdc++-v3/include/parallel/numeric


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/64103] conflicting definitions in parallel/algo.h and algorithmfwd.h
  2014-11-28 13:57 [Bug libstdc++/64103] New: conflicting definitions in parallel/algo.h and algorithmfwd.h doko at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2014-12-02 16:33 ` doko at gcc dot gnu.org
@ 2014-12-02 16:37 ` doko at gcc dot gnu.org
  2014-12-02 16:48 ` redi at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: doko at gcc dot gnu.org @ 2014-12-02 16:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64103

Matthias Klose <doko at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Matthias Klose <doko at gcc dot gnu.org> ---
backported


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug libstdc++/64103] conflicting definitions in parallel/algo.h and algorithmfwd.h
  2014-11-28 13:57 [Bug libstdc++/64103] New: conflicting definitions in parallel/algo.h and algorithmfwd.h doko at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2014-12-02 16:37 ` doko at gcc dot gnu.org
@ 2014-12-02 16:48 ` redi at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2014-12-02 16:48 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64103

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.9.3


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-12-02 16:48 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-28 13:57 [Bug libstdc++/64103] New: conflicting definitions in parallel/algo.h and algorithmfwd.h doko at gcc dot gnu.org
2014-11-29 16:58 ` [Bug libstdc++/64103] " redi at gcc dot gnu.org
2014-11-29 16:59 ` redi at gcc dot gnu.org
2014-12-02 16:33 ` doko at gcc dot gnu.org
2014-12-02 16:37 ` doko at gcc dot gnu.org
2014-12-02 16:48 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).