Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875005 - games-util/etswitch-0.1.14-r2 - etswitch.c: error: incompatible pointer to integer conversion passing
Summary: games-util/etswitch-0.1.14-r2 - etswitch.c: error: incompatible pointer to in...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-04 16:31 UTC by Toralf Förster
Modified: 2024-10-20 19:18 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.71 KB, text/plain)
2022-10-04 16:31 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,1.53 KB, application/x-bzip)
2022-10-04 16:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,62.58 KB, text/plain)
2022-10-04 16:31 UTC, Toralf Förster
Details
environment (environment,26.96 KB, text/plain)
2022-10-04 16:31 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.90 KB, application/x-bzip)
2022-10-04 16:31 UTC, Toralf Förster
Details
games-util:etswitch-0.1.14-r1:20221004-053756.log (games-util:etswitch-0.1.14-r1:20221004-053756.log,24.46 KB, text/plain)
2022-10-04 16:31 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.74 KB, application/x-bzip)
2022-10-04 16:31 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,13.79 KB, application/x-bzip)
2022-10-04 16:31 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 2022-10-04 16:31:09 UTC
      deprecated in all versions of C [-Wstrict-prototypes]
void win_init(){
             ^
              void
etswitch.c:777:63: error: incompatible pointer to integer conversion passing
      'int *' to parameter of type 'int'; dereference with * [-Wint-conversion]
  ...win.do_accel, win.do_threshold, win.accel_numerator_return[0], win.accel...

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j4-20221003-222746

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 7178c82507c105041b97e9aeb445f5a94b6f38a1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Oct 4 04:47:39 2022 +0000

    2022-10-04 04:47:39 UTC

emerge -qpvO games-util/etswitch
[ebuild  N    ] games-util/etswitch-0.1.14-r1
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:31:10 UTC
Created attachment 819256 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:31:10 UTC
Created attachment 819259 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:31:12 UTC
Created attachment 819262 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:31:13 UTC
Created attachment 819265 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:31:14 UTC
Created attachment 819268 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:31:16 UTC
Created attachment 819271 [details]
games-util:etswitch-0.1.14-r1:20221004-053756.log
Comment 7 Toralf Förster gentoo-dev 2022-10-04 16:31:17 UTC
Created attachment 819274 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-10-04 16:31:18 UTC
Created attachment 819277 [details]
temp.tar.bz2
Comment 9 Ionen Wolkens gentoo-dev 2022-11-28 23:29:04 UTC
Think should last rite this. Just missing some *win in theory but not convinced this still works and looks rather antiquated (XFree86-DGA), HOMEPAGE/SRC_URI are dead, and was never bumped since initial commit in 2008 (and 0.1.14 is from 2006 upstream).
Comment 10 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-12-23 13:52:20 UTC
Funny enough, I still have it installed, even though I haven't played (or had installed) ET in ages.  It would be nice to check 1) if it still works, and 2) if it is still necessary.  In the end, these games that take over your screen and prevent you from switching windows were kind of annoying.

I think XFree86-DGA is only used to output warning when it is loaded:

```
*** You have XFree86-DGA loaded ***
Games(Quake3 based ones for example) using XFree86-DGA mouse hooks may
not release mouse pointer, read the documentation on how to disable
XFree86-DGA if in_dgamouse 0 doesnt help.
*** You have XFree86-DGA loaded ***
```
Comment 11 Ionen Wolkens gentoo-dev 2023-01-19 06:45:14 UTC
Guess can leave it alone for now if it may still have uses (never used myself).

wrt pointer types issues, ideally would prefer someone that can try it fixes it albeit I doubt it can get worse even with a blind fix
Comment 12 Agostino Sarubbo gentoo-dev 2023-12-31 10:36:37 UTC
gcc14_tinderbox has reproduced this issue with version 0.1.14-r2 - Updating summary.