If you just remove the 'static', does it compile for you? (leaving the rest of the line in place)
On Feb 11, 2015, at 2:11 PM, Richard Shaw <[email protected]> wrote: > I'm about to rebuild 1.5.11 on Fedora for the new release of Field 3D and ran > into the following: > > [ 67%] > /builddir/build/BUILD/oiio-Release-1.5.11/src/ptex.imageio/ptex/PtexHalf.cpp:83:13: > error: 'PtexHalfInitialized' defined but not used [-Werror=unused-variable] > static bool PtexHalfInitialized = PtexHalfInit(); > ^ > cc1plus: all warnings being treated as errors > > Thanks, > Richard > -- Larry Gritz [email protected]
_______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
