: powerpc: "confmisc.c:879: warning: passing arg 2 of `snd_config_get_pointer' from incompatible pointer type"
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=829>
======================================================================
Reported By: jdthood
Assigned To:
======================================================================
Project: ALSA - lib Issue ID: 829 Category: alisp Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 01-17-2005 09:21 CET Last Modified: 01-19-2005 14:44 CET
======================================================================
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-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
======================================================================
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt