: powerpc: "confmisc.c:879: warning: passing arg 2 of `snd_config_get_pointer' from incompatible pointer type"
The following issue has been CLOSED
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=829>
======================================================================
Reported By: jdthood Assigned To: perex ====================================================================== Project: ALSA - lib Issue ID: 829 Category: 0_general Reproducibility: always Severity: minor Priority: normal Status: closed Resolution: fixed Fixed in Version: ====================================================================== Date Submitted: 01-17-2005 09:21 CET Last Modified: 08-09-2005 13:46 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
======================================================================
----------------------------------------------------------------------
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.
----------------------------------------------------------------------
perex - 05-30-05 13:18
----------------------------------------------------------------------
This warning should be fixed in CVS.
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 05-30-05 13:18 perex Status new => resolved 05-30-05 13:18 perex Resolution open => fixed 05-30-05 13:18 perex Assigned To => perex 05-30-05 13:18 perex Note Added: 0004807 08-09-05 13:46 perex Status resolved => closed
======================================================================
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf