~ubuntu-branches/ubuntu/precise/insighttoolkit/precise

« back to all changes in this revision

Viewing changes to Testing/Code/Algorithms/itkMultiResolutionPyramidImageFilterTest.cxx

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2008-05-31 12:07:29 UTC
  • mfrom: (3.1.3 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080531120729-7g7layn480le43ko
Tags: 3.6.0-3
* debian/patches/gccxml-workaround.patch: New.  Work around gccxml issue
  with #include_next; c.f. http://www.gccxml.org/Bug/view.php?id=7134.  
* debian/patches/gcc43.patch: include <cstring> in itkNeighbourhood.h.
  This only showed up in the tcl wrapping step.

* Above two entries fix FTBFS for GCC 4.3-based systems.
  Closes: #478500.

* debian/patches/sharedforward.patch: New.  Ensure that linux/sparc
  systems are not also configured as a SUN sparc system, which requires
  SUN header sys/isa_defs.h.  Closes: #478940, #483312.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
  Program:   Insight Segmentation & Registration Toolkit
4
4
  Module:    $RCSfile: itkMultiResolutionPyramidImageFilterTest.cxx,v $
5
5
  Language:  C++
6
 
  Date:      $Date: 2005/08/29 20:26:15 $
7
 
  Version:   $Revision: 1.21 $
 
6
  Date:      $Date: 2008-02-03 04:05:34 $
 
7
  Version:   $Revision: 1.22 $
8
8
 
9
9
  Copyright (c) Insight Software Consortium. All rights reserved.
10
10
  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
272
272
      {
273
273
      break;
274
274
      }
275
 
    unsigned int size = inputSize[j] / schedule[testLevel][j];
276
 
    if( size == 0 ) size = 1;
277
 
    if( outputSize[j] != size )
 
275
    unsigned int sz = inputSize[j] / schedule[testLevel][j];
 
276
    if( sz == 0 ) sz = 1;
 
277
    if( outputSize[j] != sz )
278
278
      {
279
279
      break;
280
280
      }