Re: pipewire 1.6.2 cannot build properly
"Xi Ruoyao" ([email protected] via blfs-dev Mailing List) <[email protected]> Thu, 09 Apr 2026 19:01:28 +0800
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format...
------------=_1775732498-1253-22753
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
On Thu, 2026-04-09 at 18:54 +0800, Zhang Wen wrote:
> Currently the pipewire page contains
> CFLAGS=3D"-Wno-error=3Ddiscarded-qualifiers", and the build fails at
> compat.h line 437.
Why? With the CFLAGS I get warnings there instead of errors, like:
[150/1056] Compiling C object spa/plugins/alsa/acp/libacp.a.p/acp.c.o
In file included from ../spa/plugins/alsa/acp/device-port.h:25,
from ../spa/plugins/alsa/acp/alsa-mixer.h:82,
from ../spa/plugins/alsa/acp/acp.c:6:
../spa/plugins/alsa/acp/compat.h: In function 'pa_path_get_filename':
../spa/plugins/alsa/acp/compat.h:437:13: warning: assignment discards 'cons=
t' qualifier from pointer target type [-Wdiscarded-qualifiers]
437 | if ((fn =3D strrchr(p, PA_PATH_SEP_CHAR)))
| ^
Have you really typed the CFLAGS correctly??
--=20
Xi Ruoyao <[email protected]>
------------=_1775732498-1253-22753
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
--
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
------------=_1775732498-1253-22753--