: powerpc: "confmisc.c:879: warning: passing arg 2 of `snd_config_get_pointer' from incompatible pointer type"
The following issue has been UPDATED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=829>
======================================================================
Reported By: jdthood
Assigned To:
======================================================================
Project: ALSA - lib Issue ID: 829 Category: general Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 01-17-2005 09:21 CET Last Modified: 05-30-2005 12:59 CEST
======================================================================
Summary: powerpc: "confmisc.c:879: warning: passing arg 2 of
`snd_config_get_pointer' from incompatible pointer type" Description:
Making all in alisp
[...]
if /bin/sh ../libtool --mode=compile powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D__ppc__ -g -Wall -O2 -MT confmisc.lo -MD -MP -MF ".deps/confmisc.Tpo" \
-c -o confmisc.lo test -f 'confmisc.c' || echo './'confmisc.c; \
then mv -f ".deps/confmisc.Tpo" ".deps/confmisc.Plo"; \
else rm -f ".deps/confmisc.Tpo"; exit 1; \
fi
powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-D__ppc__ -g -Wall -O2 -MT confmisc.lo -MD -MP -MF .deps/confmisc.Tpo -c confmisc.c -fPIC -DPIC -o .libs/confmisc.oconfmisc.c: In function `snd_func_private_pcm_subdevice':
confmisc.c:879: warning: passing arg 2 of `snd_config_get_pointer' from incompatible pointer type
powerpc-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-D__ppc__ -g -Wall -O2 -MT confmisc.lo -MD -MP -MF .deps/confmisc.Tpo -c confmisc.c -o confmisc.o >/dev/null 2>&1
======================================================================
----------------------------------------------------------------------
jdthood - 01-17-05 09:30
----------------------------------------------------------------------
This warning appears on alpha, ia64, hppa, sparc and powerpc too. See
http://buildd.debian.org/fetch.php?&pkg=alsa-lib&ver=1.0.8-1&arch=alpha&stamp=1105907568&file=log&as=raw
for the full alpha build log. See
http://buildd.debian.org/fetch.php?&pkg=alsa-lib&ver=1.0.8-1&arch=ia64&stamp=1105907385&file=log&as=raw
for the full ia64 buld log. See
http://buildd.debian.org/fetch.php?&pkg=alsa-lib&ver=1.0.8-1&arch=hppa&stamp=1105909875&file=log&as=raw
for the full hppa build log. See
http://buildd.debian.org/fetch.php?&pkg=alsa-lib&ver=1.0.8-1&arch=sparc&stamp=1105912213&file=log&as=raw
for the full sparc build log. See
http://buildd.debian.org/fetch.php?&pkg=alsa-lib&ver=1.0.8-1&arch=powerpc&stamp=1105933411&file=log&as=raw
for the full powerpc build log.
----------------------------------------------------------------------
jdthood - 01-17-05 11:26
----------------------------------------------------------------------
Also on s390. See
http://buildd.debian.org/fetch.php?&pkg=alsa-lib&ver=1.0.8-1&arch=s390&stamp=1105954179&file=log&as=raw
for the full s390 build log.
----------------------------------------------------------------------
jdthood - 01-18-05 16:49
----------------------------------------------------------------------
Also on mips. See
http://buildd.debian.org/fetch.php?&pkg=alsa-lib&ver=1.0.8-1&arch=mips&stamp=1106048896&file=log&as=raw
for the full mips build log.
----------------------------------------------------------------------
tiwai - 01-19-05 14:31
----------------------------------------------------------------------
The warning is very cosmetic. You can ignore it.
Will fix in the later version.
----------------------------------------------------------------------
jdthood - 01-19-05 14:39
----------------------------------------------------------------------
Quoted 1 line
The warning is very cosmetic. You can ignore it.
Yes, I guessed so when I started finding it on more and more architectures.
Quoted 1 line
Will fix in the later version.
OK, good. It's best to eliminate as many spurious warning messages as possible.
----------------------------------------------------------------------
tiwai - 01-19-05 14:44
----------------------------------------------------------------------
Yep, this should get fixed.
The problem is perhaps const void **. Both const and "void **" are tricky to use...
Anyway, thanks for these reports.
Issue History
Date Modified Username Field Change
======================================================================
01-17-05 09:21 jdthood New Issue 01-17-05 09:30 jdthood Note Added: 0003224 01-17-05 11:26 jdthood Note Added: 0003233 01-18-05 16:49 jdthood Note Added: 0003251 01-19-05 14:31 tiwai Note Added: 0003269 01-19-05 14:39 jdthood Note Added: 0003274 01-19-05 14:44 tiwai Note Added: 0003277 05-30-05 12:59 perex Category alisp => general
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005