Date: Sun, 12 Mar 2023 08:02:10 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 270150] audio/xwave maintainer update (type conversion compiler error in StrToPmap.c) Message-ID: <bug-270150-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270150 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=3D240788&action= =3Dedit 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 Free= BSD 14.0 CURRENT. The problem is an implicit type conversion: StrToPmap.c:143:19: error: incompatible pointer to integer conversion assig= ning to 'XrmName' (aka 'int') from 'void *' [-Wint-conversion] xrm_name[1] =3D NULL; ^ ~~~~ StrToPmap.c:145:20: error: incompatible pointer to integer conversion assig= ning to 'XrmClass' (aka 'int') from 'void *' [-Wint-conversion] xrm_class[1] =3D 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 c= ode is far away from today's coding standard. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270150-7788>