Skip to contentSkip to conversation

alsa-conf cvscompile fails with 'friend declaration requires class-key'

DISCUSSION Lee Revell 3 participants 3 messages Jul 25, 2004 – Jul 27, 2004

lore
Share & tools
lore

Lee Revell

author
#0 lore raw

Here is what happens when cvscompile runs make in alsa-conf:

make all-recursive
make[1]: Entering directory `/home/rlrevell/cvs/alsa/alsa-conf' Making all in newt
make[2]: Entering directory /home/rlrevell/cvs/alsa/alsa-conf/newt' make[2]: Nothing to be done for all'.
make[2]: Leaving directory /home/rlrevell/cvs/alsa/alsa-conf/newt' make[2]: Entering directory /home/rlrevell/cvs/alsa/alsa-conf'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./newt -g -Wall -ftemplate-depth-20 -MT Def.o -MD -MP -MF ".deps/Def.Tpo" \
-c -o Def.o test -f 'Def.cc' || echo './'Def.cc; \
then mv -f ".deps/Def.Tpo" ".deps/Def.Po"; \
else rm -f ".deps/Def.Tpo"; exit 1; \
fi
In file included from Value.hh:26,

                 from Def.hh:27,
                 from Def.cc:22:
Ptr.hh:181: error: friend declaration requires class-key, i.e. `friend class 
   CPtr<T>'
In file included from Def.hh:27,
                 from Def.cc:22:

Value.hh:67: error: parse error before `<' token
Value.hh:70: error: parse error before `&' token
etc.

This is on Debian unstable.

Lee

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

#1 lore raw

At Sun, 25 Jul 2004 14:57:26 -0400,

Quoted 2 lines · Lee Revell

Here is what happens when cvscompile runs make in alsa-conf:

It's totally obsolete. Don't use it ;)
(It's there just for historical reason.
Removing a cvs module isn't trivial...)

alsaconf script is in alsa-utils, BTW.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

#2 lore raw
Quoted 2 lines · Takashi Iwai

(It's there just for historical reason.
Removing a cvs module isn't trivial...)

"cvs update -P" should do the job. :)

Regards,
Clemens

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click