[Insight-developers] zlib API change causes build failures in itkVoXBoCUBImageIO

Bill Lorensen bill.lorensen at gmail.com
Tue Feb 21 12:04:27 EST 2012


This system:
riemann.sumost.ca
uses a system zlib. Seems that zlib version 1,2,6 just released has
changed gzgetc from a function to a macro: http://zlib.net/ . The
VoXBoCUBImageIO.cxx code references gzgetc as ::gzgetc. This results
in this compiler error:
http://open.cdash.org/viewBuildError.php?buildid=2026092

I'm assuming that the form ::function will not do a macro substitution.

I'll submit a gerrit patch to remove the :: from the gx calls.

Bill


-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Insight-developers mailing list