eric08 / imagestack

Automatically exported from code.google.com/p/imagestack
Other
0 stars 0 forks source link

Werror: 'number_of_passes’ set but not used #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When building on Linux (Ubuntu 12.04) with gcc 4.6.3 I get this error:

src/FilePNG.cpp: In function ‘ImageStack::Image 
ImageStack::FilePNG::load(std::string)
src/FilePNG.cpp:25:13: error: variable ‘number_of_passes’ set but not used 
[-Werror=uned-but-set-variable]

Removing -Werror from the BIN_CCFLAGS in Makefile.linux fixes the problem.

David

Original issue reported on code.google.com by daviddo...@gmail.com on 15 May 2012 at 1:15