tags patch + 441493
thanks

Hi,

in gcc-4.2 the >? operator was removed from the C++ lexer. The attached
patch fixes the one occurence of this operator in waili. With this patch
applied, waili compiles without a problem on my amd64 box.

Regards,
  Sebastian


--- waili-19990723/test/Rangecheck.C	2007-09-26 17:18:20.000000000 +0200
+++ waili-new/test/Rangecheck.C	2007-09-26 17:27:16.000000000 +0200
@@ -215,7 +215,7 @@
     wavelet = Wavelet::CreateCDF(np, nd);
     u_int fstart = std::min(wavelet->GetGStart() , wavelet->GetHStart());
     u_int fend = std::max(wavelet->GetGEnd() , wavelet->GetHEnd());
-    u_int limit = (-fstart >? fend)+1;
+    u_int limit = ( (-fstart > fend) ? -fstart : fend )+1;
 #if 0
     u_int start = fstart, end = fend;
     for (u_int i = 1; i < numlevels; i++) {

Reply via email to