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

Bug#839995: g++-6: g++6 fails to compile files that include /usr/include/c++/6/bits/locale_conv.h



Package: g++-6
Version: 6.2.0-5
Severity: important
Tags: upstream

Dear Maintainer,

Trying to compile libgtop11dotnet-2.2.0.12 for a gemalto pki, i have a
build error that has nothing to do with the packages itself but
with the content of /usr/include/c++/6/bits/locale_conv.h
and especially the __out temporary variable used in some of its inline.

It is not related to libgtop11dotnet-2.2.0.13 code epr se as I have found
complains for the same problem on various c++ code with g++ 6.

I will attach a standalone file that shows the problem and a possible fix.

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.4.23 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF8, LC_CTYPE=en_US.UTF8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages g++-6 depends on:
ii  gcc-6            6.2.0-5
ii  gcc-6-base       6.2.0-5
ii  libc6            2.24-3
ii  libgmp10         2:6.1.1+dfsg-1
ii  libisl15         0.17.1-1
ii  libmpc3          1.0.3-1
ii  libmpfr4         3.1.5-1
ii  libstdc++-6-dev  6.2.0-5
ii  zlib1g           1:1.2.8.dfsg-2+b1

g++-6 recommends no packages.

Versions of packages g++-6 suggests:
pn  g++-6-multilib    <none>
pn  gcc-6-doc         <none>
pn  libstdc++6-6-dbg  <none>

-- no debconf information


Reply to: