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

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



Your message dated Mon, 10 Oct 2016 07:39:03 +0200
with message-id <6836f07f-af86-e244-5be7-6243e1cd6d30@debian.org>
and subject line Re: Bug#839995: g++-6: g++6 fails to compile files that include /usr/include/c++/6/bits/locale_conv.h
has caused the Debian Bug report #839995,
regarding g++-6: g++6 fails to compile files that include /usr/include/c++/6/bits/locale_conv.h
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
839995: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839995
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
On 07.10.2016 10:49, Eric Valette wrote:
> 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.


upstream replied (https://gcc.gnu.org/PR77913):

(In reply to Andrew Pinski from comment #3)
> This is a bug in libgtop11dotnet:
>
>
> ./cardmod.h:#define __out
> ./cardmod.h:#define __out_bcount_part_opt(x, y)
> ./cardmod.h:#define __out_bcount(x)
> ./cardmod.h:#define __out_opt
>
>
> __ is in the implementation namespace but they are abusing it.

Basically they are trying to compile the sources under both MSVC++ and GCC but
default to MSVC++'s source style in a way it is undefined for other compilers.

--- End Message ---

Reply to: