[Insight-developers] Re: Recent include file reorg breaks backward compatibility

Bill Lorensen bill.lorensen at gmail.com
Tue Oct 3 14:18:47 EDT 2006


Done. That works great! See, it's not always hard to maintain backward
compatibility. Just a little more thinking.

I'll add includes for the other renamed includes.

Bill


On 10/3/06, Brad King <brad.king at kitware.com> wrote:
>
> Bill Lorensen wrote:
> > The recent reorganization of some of the utility include files is
> > causing a backward compatibility problem. In Slicer3 we have a class (a
> > Slicer3 ImageIO specific class) that includes zlib/zlib.h. Your recent
> > changes (renaming the itk include files for some utilities) causes a
> > compilation error when Slicer3 is build against the nightly itk cvs.
> >
> > Is there some way we can minting compatibility with the  old include
> > usage without changing the Slicer3 code. It is critical that we can
> > build against 2.8 and the cvs head. I suspect that other itk users will
> > meet the same issue.
>
> Heh, those changes were actually made because Andy wanted me to setup
> the utilities for use by external projects specifically for Slicer :)
>
> Try adding a Utilities/zlib/zlib.h file that contains just
>
> #include "itk_zlib.h"
>
> -Brad
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.itk.org/mailman/private/insight-developers/attachments/20061003/71bf7b45/attachment.htm


More information about the Insight-developers mailing list