#883: Pulseaudio doesn't build with Clang --------------------+------------------------------------------------------- Reporter: kwm | Owner: lennart Type: defect | Status: new Milestone: | Component: core Keywords: | --------------------+------------------------------------------------------- Pulseaudio fails to build with the Clang compiler http://clang.llvm.org/ .
CC libpulsecore_0.9.22_la-svolume_mmx.lo warning: unknown warning option '-Wunsafe-loop-optimizations' [-Wunknown- warning-option] warning: unknown warning option '-Wlogical-op' [-Wunknown-warning-option] pulsecore/svolume_mmx.c:157:76: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous- gnu-extensions : "+r" (samples), "+r" (volumes), "+r" (length), "=D" ((pa_reg_x86)channel), "=&r" (temp) ~~~~~~~~~~~~^~~~~~~ pulsecore/svolume_mmx.c:234:76: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous- gnu-extensions : "+r" (samples), "+r" (volumes), "+r" (length), "=D" ((pa_reg_x86)channel), "=&r" (temp) ~~~~~~~~~~~~^~~~~~~ 2 warnings and 2 errors generated. gmake[3]: *** [libpulsecore_0.9.22_la-svolume_mmx.lo] Error 1 -- Ticket URL: <http://pulseaudio.org/ticket/883> PulseAudio <http://pulseaudio.org/> The PulseAudio Sound Server _______________________________________________ pulseaudio-tickets mailing list pulseaudio-tickets@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-tickets