Index: src/Makefile.am =================================================================== --- src/Makefile.am +++ src/Makefile.am 2004-07-16 19:01:39.673947633 +0200 @@ -33,5 +33,5 @@ WavPCMSampleValue.cc error.cc main.cc msg.cc SMDConstructionHeuristic.cc LIBS = @LIBINTL@ @LIBS@ localedir = $(datadir)/locale -LIBTOOL = $(SHELL) libtool +LIBTOOL = $(SHELL) libtool --tag=CXX MAINTAINERCLEANFILES = Makefile.in Index: src/AuSampleValues.cc =================================================================== --- src/AuSampleValues.cc +++ src/AuSampleValues.cc 2004-07-16 18:59:18.934578427 +0200 @@ -17,21 +17,21 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * */ - +#include "common.h" #include "AuSampleValues.h" // AuMuLawSampleValue -const BYTE AuMuLawSampleValue::MinValue = 0 ; -const BYTE AuMuLawSampleValue::MaxValue = BYTE_MAX ; +template<> const BYTE AuMuLawSampleValue::MinValue = 0 ; +template<> const BYTE AuMuLawSampleValue::MaxValue = BYTE_MAX ; // AuPCM8SampleValue -const SBYTE AuPCM8SampleValue::MinValue = SBYTE_MIN ; -const SBYTE AuPCM8SampleValue::MaxValue = SBYTE_MAX ; +template<> const SBYTE AuPCM8SampleValue::MinValue = SBYTE_MIN ; +template<> const SBYTE AuPCM8SampleValue::MaxValue = SBYTE_MAX ; // AuPCM16SampleValue -const SWORD16 AuPCM16SampleValue::MinValue = SWORD16_MIN ; -const SWORD16 AuPCM16SampleValue::MaxValue = SWORD16_MAX ; +template<> const SWORD16 AuPCM16SampleValue::MinValue = SWORD16_MIN ; +template<> const SWORD16 AuPCM16SampleValue::MaxValue = SWORD16_MAX ; // AuPCM32SampleValue -const SWORD32 AuPCM32SampleValue::MinValue = SWORD32_MIN ; -const SWORD32 AuPCM32SampleValue::MaxValue = SWORD32_MAX ; +template<> const SWORD32 AuPCM32SampleValue::MinValue = SWORD32_MIN ; +template<> const SWORD32 AuPCM32SampleValue::MaxValue = SWORD32_MAX ;