[Bug 270150] audio/xwave maintainer update (type conversion compiler error in StrToPmap.c)
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 270150] audio/xwave: fix build"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Mar 2023 08:02:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270150 Bug ID: 270150 Summary: audio/xwave maintainer update (type conversion compiler error in StrToPmap.c) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: a0516@marimga.de Created attachment 240788 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240788&action=edit Additional patch file to overcome compiler error about type conversion NULL->0 Since Feb 10, pkg-fallout claims that xwave is no more compilable with FreeBSD 14.0 CURRENT. The problem is an implicit type conversion: StrToPmap.c:143:19: error: incompatible pointer to integer conversion assigning to 'XrmName' (aka 'int') from 'void *' [-Wint-conversion] xrm_name[1] = NULL; ^ ~~~~ StrToPmap.c:145:20: error: incompatible pointer to integer conversion assigning to 'XrmClass' (aka 'int') from 'void *' [-Wint-conversion] xrm_class[1] = NULL; ^ ~~~~ This patch corrects the type, so i guess, the compiler error will disappear. I do not have a suitable test environment. Since the xwave source code itself is not more maintained since 1998, the code is far away from today's coding standard. -- You are receiving this mail because: You are the assignee for the bug.