Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 613428 - games-board/pouetchess-0.2.0-r1 : /.../math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration
Summary: games-board/pouetchess-0.2.0-r1 : /.../math.h:107:12: error: 'constexpr float...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-6
  Show dependency tree
 
Reported: 2017-03-21 18:57 UTC by Toralf Förster
Modified: 2017-03-25 12:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,6.07 KB, text/plain)
2017-03-21 18:57 UTC, Toralf Förster
Details
config.log.tbz2 (config.log.tbz2,619 bytes, application/x-bzip)
2017-03-21 18:57 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,463.78 KB, text/plain)
2017-03-21 18:57 UTC, Toralf Förster
Details
environment (environment,105.84 KB, text/plain)
2017-03-21 18:57 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,59.90 KB, application/x-bzip)
2017-03-21 18:57 UTC, Toralf Förster
Details
games-board:pouetchess-0.2.0-r1:20170321-174359.log (games-board:pouetchess-0.2.0-r1:20170321-174359.log,5.52 KB, text/plain)
2017-03-21 18:57 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,26.53 KB, application/x-bzip)
2017-03-21 18:57 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-03-21 18:57:00 UTC
In file included from src/graphic_chessboard.cpp:29:0:
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/math.h: At global scope:
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6/math.h:107:12: error: 'constexpr float std::round(float)' conflicts with a previous declaration
 using std::round;
            ^~~~~
In file included from src/sxmlgui/XMLUtils.h:35:0,

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named plasma-abi32+64_20170309-193709) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *
llvm-config:
3.9.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)
  [5]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.9 [icedtea-7]
2)	IcedTea JDK 7.2.6.9 [icedtea-bin-7]
*)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-7 
  [2]   icedtea-bin-7 
  [3]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-03-21 18:57:04 UTC
Created attachment 467846 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-03-21 18:57:08 UTC
Created attachment 467848 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-03-21 18:57:11 UTC
Created attachment 467850 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-03-21 18:57:14 UTC
Created attachment 467852 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-03-21 18:57:17 UTC
Created attachment 467854 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-03-21 18:57:20 UTC
Created attachment 467856 [details]
games-board:pouetchess-0.2.0-r1:20170321-174359.log
Comment 7 Toralf Förster gentoo-dev 2017-03-21 18:57:23 UTC
Created attachment 467858 [details]
temp.tbz2
Comment 8 David Seifert gentoo-dev 2017-03-25 12:51:15 UTC
commit b6dce8e5520aeb34b66435133d9e5488bae1492f
Author: Peter-Levine <plevine457@gmail.com>
Date:   Tue Mar 21 18:08:42 2017 -0400

    games-board/pouetchess: Fix building with GCC-6
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=613428