[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#770843: libstdc++-4.9-dev: Conflicting definitions in parallel/algo.h and algorithmfwd.h



Package: libstdc++-4.9-dev
Version: 4.9.1-19
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

I get several cases of errors like these when compiling some source code using
the stxxl library:

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

Looks like there is some inconsistency between the full and fwd headers.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libstdc++-4.9-dev depends on:
ii  gcc-4.9-base    4.9.1-19
ii  libc6-dev       2.19-13
ii  libgcc-4.9-dev  4.9.1-19
ii  libstdc++6      4.9.1-19

libstdc++-4.9-dev recommends no packages.

Versions of packages libstdc++-4.9-dev suggests:
pn  libstdc++-4.9-doc  <none>

-- no debconf information


Reply to: