# HG changeset patch # User Chris Cannam # Date 1315232555 -3600 # Node ID de3961f74f305cacb24f52cb3de4fb32c332a6f4 # Parent 4b35f8ac51130c3bdba4f241d92367eb08ccac07 Add Linux/gcc Makefile; build fix diff -r 4b35f8ac5113 -r de3961f74f30 Makefile.gcc-linux --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile.gcc-linux Mon Sep 05 15:22:35 2011 +0100 @@ -0,0 +1,5 @@ + +CXXFLAGS := -fno-strict-aliasing -D__fastcall= -D__int32=int -D__int8='signed char' -D__int16=short -D__int64='long long' + +libx.a: align8.o fft.o hs.o hsedit.o hssf.o matrix.o multires.o opt.o procedures.o quickspec.o sinest.o sinsyn.o splines.o vibrato.o wavelet.o windowfunctions.o + diff -r 4b35f8ac5113 -r de3961f74f30 hssf.cpp --- a/hssf.cpp Fri Aug 12 18:10:46 2011 +0100 +++ b/hssf.cpp Mon Sep 05 15:22:35 2011 +0100 @@ -77,7 +77,7 @@ */ void TSF::Duplicate(TSF& SF) { - TSF::~TSF(); + this->TSF::~TSF(); memcpy(this, &SF, sizeof(TSF)); lp=F0=avgh=avgb=0, h=b=0; AllocateL(L); memcpy(F0, SF.F0, sizeof(double)*(L+2)*6); AllocateP(); memcpy(lp, SF.lp, sizeof(double)*(P+2));