[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux] ANSI C++ forbids implicit conversion from `void *' in argument passing ???



Salut tout le monde,

J'ai besoin de recompiler kdemultimedia car j'ai ajouté le support ALSA. Mais 
la compil échoue de la manière suivante :

c++ -DHAVE_CONFIG_H -I. -I. -I.. `/usr/local/kde/bin/artsc-config --cflags`
-I/usr/local/kde/include -I/usr/local/qt/include -I/usr/X11R6/include
-DDEFAULT_PATH=\"/usr/local/kde/share/apps/kmidi/config\" -DKMIDI -DAU_OSS
-DAU_ALSA -D_REENTRANT -I/usr/local/kde/include -D_REENTRANT
-I/usr/local/kde/include  -O2 -fno-exceptions -fno-check-new
-DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -O3
-fomit-frame-pointer -ffast-math -c alsa_a.cpp
alsa_a.cpp: In function `int set_playback_info(void *, uint32 *, uint32 *,
const long int *)':
alsa_a.cpp:287: ANSI C++ forbids implicit conversion from `void *' in
argument passing
alsa_a.cpp:429: ANSI C++ forbids implicit conversion from `void *' in
argument passing
alsa_a.cpp:435: ANSI C++ forbids implicit conversion from `void *' in
argument passing
alsa_a.cpp:451: ANSI C++ forbids implicit conversion from `void *' in
argument passing
alsa_a.cpp:459: ANSI C++ forbids implicit conversion from `void *' in
argument passing
alsa_a.cpp:469: ANSI C++ forbids implicit conversion from `void *' in
argument passing
make[1]: *** [alsa_a.o] Erreur 1

Qu'est ce que ne va pas avec c++ ? Je n'ai pas eu ce problème lors de ma 1ere 
compilation.
Ma version de gcc est la 2.95.3. Comment rêgler ce problème (options de 
compil...) ?

Merci de me venir en aide.

Patrice

[ Soyez précis dans vos sujets svp afin de déterminer directement  ]
[ le type de demande...                                            ]
[ Pour vous (dés)inscrire, aller sur http://unixtech.be/ml.php     ]
[ Archives de la mailing list: http://archives.unixtech.be/linux/  ]
[ http://unixtech.be              Contact: listmaster@unixtech.be  ]