Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 724868

Summary: x11-wm/pekwm-0.1.17-r2 : ActionHandler.cc: error: narrowing conversion of WORKSPACE_LEFT from unsigned int to int [-Wnarrowing]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Andreas <linbug+gbz>
Status: RESOLVED FIXED    
Severity: normal CC: kingjon3377, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 767763    
Bug Blocks:    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
x11-wm:pekwm-0.1.17-r2:20200523-203016.log

Description Toralf Förster gentoo-dev 2020-05-23 20:38:12 UTC
      |                                       ^~~~~
ActionHandler.cc: In member function void ActionHandler::actionSendToWorkspace(PDecor*, int):
ActionHandler.cc:586:10: error: narrowing conversion of WORKSPACE_LEFT from unsigned int to int [-Wnarrowing]
  586 |     case WORKSPACE_LEFT:
      |          ^~~~~~~~~~~~~~
ActionHandler.cc:587:10: error: narrowing conversion of WORKSPACE_PREV from unsigned int to int [-Wnarrowing]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-libressl-20200520-234729

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.43.1 *
The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat 23 May 2020 07:35:47 PM UTC
/var/db/repos/libressl	Sat 23 May 2020 09:30:40 AM UTC

emerge -qpvO x11-wm/pekwm
[ebuild  N    ] x11-wm/pekwm-0.1.17-r2  USE="-contrib -debug -themes -truetype -xinerama"
Comment 1 Toralf Förster gentoo-dev 2020-05-23 20:38:14 UTC
Created attachment 641256 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-23 20:38:17 UTC
Created attachment 641258 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-23 20:38:20 UTC
Created attachment 641260 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-23 20:38:22 UTC
Created attachment 641262 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-23 20:38:25 UTC
Created attachment 641264 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-23 20:38:27 UTC
Created attachment 641266 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-05-23 20:38:30 UTC
Created attachment 641268 [details]
x11-wm:pekwm-0.1.17-r2:20200523-203016.log
Comment 8 Nguyen Thai Ngoc Duy 2021-01-07 02:40:57 UTC
Doesn't happen for me (gcc 9.3.0). But anyway it's probably fixed upstream with https://github.com/pekdon/pekwm/commit/e2e7456ce3d12c9c9330e615d2c90b3c41a90a67
Comment 9 Larry the Git Cow gentoo-dev 2021-07-25 23:37:22 UTC
The bug has been closed via the following commit(s):

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

commit 482c39963295ed5f10d36f56685eb360b607aaca
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-07-25 23:36:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-07-25 23:36:03 +0000

    x11-wm/pekwm: add 0.1.18
    
    Closes: https://bugs.gentoo.org/724868
    Closes: https://bugs.gentoo.org/786675
    Closes: https://bugs.gentoo.org/767763
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-wm/pekwm/Manifest            |  1 +
 x11-wm/pekwm/pekwm-0.1.18.ebuild | 86 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 87 insertions(+)