ALSA (CVS) doesn't compile on recent linux (alsa-conf)
make[2]: Entering directory `/usr/src/alsa/alsa-conf'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./newt -g -Wall -ftemplate-depth-20 -MT Alloc.o -MD -MP -MF ".deps/Alloc.Tpo" \
-c -o Alloc.o test -f 'Alloc.cc' || echo './'Alloc.cc; \
then mv ".deps/Alloc.Tpo" ".deps/Alloc.Po"; \
else rm -f ".deps/Alloc.Tpo"; exit 1; \
fi
In file included from /usr/include/c++/3.2.3/backward/iomanip.h:31,
from Alloc.cc:23:
/usr/include/c++/3.2.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
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 ".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: 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: syntax error before `<' token
Value.hh:70: syntax error before `&' token
Value.hh:72: non-member function `const Field* search(const String&)' cannot
have `const' method qualifier
Value.hh:72: new declaration const Field* search(const String&)' Value.hh:71: ambiguates old declaration Field* search(const String&)' Value.hh:73: non-member function void print(ostream&)' cannot have const'
method qualifier
Value.hh:75: syntax error before `}' token
[...]
This is using gcc version 3.2.3
Signature · 8 lines
Carlo Wood <[email protected]> ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
alsa-conf package is not maintained ATM.
please use alsaconf script in alsa-drivers/utils instead.
Takashi
At Fri, 18 Jul 2003 14:27:43 +0200,
Quoted 33 lines · Carlo Wood
make[2]: Entering directory `/usr/src/alsa/alsa-conf'
if g++ -DHAVE_CONFIG_H -I. -I. -I. -I./newt -g -Wall -ftemplate-depth-20 -MT Alloc.o -MD -MP -MF ".deps/Alloc.Tpo" \
-c -o Alloc.otest -f 'Alloc.cc' || echo './'Alloc.cc; \
then mv ".deps/Alloc.Tpo" ".deps/Alloc.Po"; \
else rm -f ".deps/Alloc.Tpo"; exit 1; \
fi
In file included from/usr/include/c++/3.2.3/backward/iomanip.h:31,from Alloc.cc:23:
/usr/include/c++/3.2.3/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <sstream> instead of the deprecated header <strstream.h>. To disable this warning use -Wno-deprecated.
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.otest -f 'Def.cc' || echo './'Def.cc; \
then mv ".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: 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: syntax error before `<' token
Value.hh:70: syntax error before `&' token
Value.hh:72: non-member function `const Field*search(const String&)' cannot
have `const' method qualifier
Value.hh:72: new declarationconst Field* search(const String&)' Value.hh:71: ambiguates old declarationField*search(const String&)' Value.hh:73: non-member functionvoid print(ostream&)' cannot haveconst'
method qualifier
Value.hh:75: syntax error before `}' token
[...]
Quoted 16 lines
This is using gcc version 3.2.3
Signature · 12 lines
Carlo Wood <[email protected]> ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 _______________________________________________ Alsa-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alsa-devel
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0