Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638616 - media-gfx/dawn-3.90b : FRString.h:140:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Summary: media-gfx/dawn-3.90b : FRString.h:140:30: error: ISO C++ forbids comparison b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Physics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-7 EAPI2Removal
  Show dependency tree
 
Reported: 2017-11-23 19:04 UTC by Toralf Förster
Modified: 2018-04-04 21:09 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.62 KB, text/plain)
2017-11-23 19:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,168.32 KB, text/plain)
2017-11-23 19:04 UTC, Toralf Förster
Details
environment (environment,85.21 KB, text/plain)
2017-11-23 19:04 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.32 KB, application/x-bzip)
2017-11-23 19:04 UTC, Toralf Förster
Details
media-gfx:dawn-3.90b:20171123-121713.log (media-gfx:dawn-3.90b:20171123-121713.log,5.99 KB, text/plain)
2017-11-23 19:04 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.18 KB, application/x-bzip)
2017-11-23 19:04 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-11-23 19:04:17 UTC
                 from main_selector2.cc:8:
FRString.h: In member function ‘void FRString::RemoveFirstWord()’:
FRString.h:140:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
  while(  isspace(*p) && p != '\0' ) {p++;}
                              ^~~~
FRString.h:143:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-plasma-systemd_test_20171118-222131

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv media-gfx/dawn
[ebuild  N    ] media-gfx/dawn-3.90b  USE="X opengl -doc"
Comment 1 Toralf Förster gentoo-dev 2017-11-23 19:04:20 UTC
Created attachment 506078 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-23 19:04:23 UTC
Created attachment 506080 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-11-23 19:04:26 UTC
Created attachment 506082 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-11-23 19:04:29 UTC
Created attachment 506084 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-11-23 19:04:32 UTC
Created attachment 506086 [details]
media-gfx:dawn-3.90b:20171123-121713.log
Comment 6 Toralf Förster gentoo-dev 2017-11-23 19:04:35 UTC
Created attachment 506088 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2018-04-04 21:09:57 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3d35f35dfabcb6b2b282313d5f9e9555ac98e91

commit e3d35f35dfabcb6b2b282313d5f9e9555ac98e91
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2018-04-01 04:25:04 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-04-04 21:09:31 +0000

    media-gfx/dawn: Fix building with GCC-7
    
    Bug: https://bugs.gentoo.org/638616
    Closes: https://bugs.gentoo.org/638616
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 media-gfx/dawn/dawn-3.90b-r1.ebuild        |  5 ++++-
 media-gfx/dawn/dawn-3.90b.ebuild           |  3 ++-
 media-gfx/dawn/files/dawn-3.90b-gcc7.patch | 21 +++++++++++++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3d35f35dfabcb6b2b282313d5f9e9555ac98e91

commit e3d35f35dfabcb6b2b282313d5f9e9555ac98e91
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2018-04-01 04:25:04 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-04-04 21:09:31 +0000

    media-gfx/dawn: Fix building with GCC-7
    
    Bug: https://bugs.gentoo.org/638616
    Closes: https://bugs.gentoo.org/638616
    Package-Manager: Portage-2.3.16, Repoman-2.3.6

 media-gfx/dawn/dawn-3.90b-r1.ebuild        |  5 ++++-
 media-gfx/dawn/dawn-3.90b.ebuild           |  3 ++-
 media-gfx/dawn/files/dawn-3.90b-gcc7.patch | 21 +++++++++++++++++++++
 3 files changed, 27 insertions(+), 2 deletions(-)}