changeset 13:de3961f74f30 tip

Add Linux/gcc Makefile; build fix
author Chris Cannam
date Mon, 05 Sep 2011 15:22:35 +0100
parents 4b35f8ac5113
children
files Makefile.gcc-linux hssf.cpp
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /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
+
--- 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));