rleigh wrote:Hi Phillippe,
Please could you try building VolViewer with a clean tree (i.e. "make clean" or its equivalent) with GCC 4.4, and provide the full text of the compiler output for the source file which fails to build. The line you mention is simply a forward declaration, and there's nothing incorrect with that in itself, so it's likely caused by something else. It would be helpful to know exactly which file is failing. It would also be useful to have a complete copy of the preprocessed source (i.e. "g++ -E" rather than "g++ -c") for this file.
Thanks,
Roger
I have no idea how to change the -c option to -E in the Makefile. However, I have done a make clean and redirect the output of make in a file.
Here the make output (sorry:for the length, upload attachment doesn't accept .txt or .c extension)
==============
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/ArcBall.o src/ArcBall.cpp
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/BSpline.o src/BSpline.cpp
src/BSpline.cpp: In member function ‘void BSpline::compute()’:
src/BSpline.cpp:45: warning: comparison between signed and unsigned integer expressions
src/BSpline.cpp:47: warning: comparison between signed and unsigned integer expressions
src/BSpline.cpp: In member function ‘void BSpline::compute_point(double, Vector*)’:
src/BSpline.cpp:160: warning: comparison between signed and unsigned integer expressions
src/BSpline.cpp: In member function ‘const BSpline& BSpline::operator=(const BSpline&)’:
src/BSpline.cpp:181: warning: comparison between signed and unsigned integer expressions
src/BSpline.cpp:184: warning: comparison between signed and unsigned integer expressions
src/BSpline.cpp:187: warning: comparison between signed and unsigned integer expressions
src/BSpline.cpp:190: warning: comparison between signed and unsigned integer expressions
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/Camera.o src/Camera.cpp
src/Camera.h: In constructor ‘Camera::Camera()’:
src/Camera.h:69: warning: ‘Camera::ratio’ will be initialized after
src/Camera.h:67: warning: ‘bool Camera::smooth’
src/Camera.cpp:19: warning: when initialized here
src/Camera.h: In constructor ‘Camera::Camera(const Vector&, const Vector&, const Vector&)’:
src/Camera.h:69: warning: ‘Camera::ratio’ will be initialized after
src/Camera.h:67: warning: ‘bool Camera::smooth’
src/Camera.cpp:33: warning: when initialized here
src/Camera.h: In constructor ‘Camera::Camera(const Vector&, const Vector&)’:
src/Camera.h:69: warning: ‘Camera::ratio’ will be initialized after
src/Camera.h:67: warning: ‘bool Camera::smooth’
src/Camera.cpp:47: warning: when initialized here
src/Camera.h: In constructor ‘Camera::Camera(const Vector&)’:
src/Camera.h:69: warning: ‘Camera::ratio’ will be initialized after
src/Camera.h:67: warning: ‘bool Camera::smooth’
src/Camera.cpp:61: warning: when initialized here
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/ColourFun.o src/ColourFun.cpp
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/ColourMap.o src/ColourMap.cpp
src/ColourMap.cpp: In member function ‘Vector ColourMap::compute_colour(float, float, float)’:
src/ColourMap.cpp:51: warning: comparison between signed and unsigned integer expressions
src/ColourMap.cpp:60: warning: comparison between signed and unsigned integer expressions
src/ColourMap.cpp:47: warning: unused variable ‘maxvalue’
src/ColourMap.cpp: In member function ‘const ColourMap& ColourMap::operator=(const ColourMap&)’:
src/ColourMap.cpp:110: warning: comparison between signed and unsigned integer expressions
src/ColourMap.cpp: In member function ‘Vector ColourMap::compute_colour(float, float, float)’:
src/ColourMap.cpp:48: warning: ‘minindex’ may be used uninitialized in this function
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/CVector.o src/CVector.cpp
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/DatasetView.o src/DatasetView.cpp
src/DatasetView.cpp:25: warning: unused parameter ‘fn’
src/DatasetView.cpp:28: warning: unused parameter ‘fn’
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/Face.o src/Face.cpp
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/Filter.o src/Filter.cpp
In file included from src/Filter.h:34,
from src/Filter.cpp:5:
src/Gaussian.h:8: warning: ignoring #pragma warning
src/Filter.cpp: In member function ‘void Filter::auto_levels()’:
src/Filter.cpp:263: warning: unused variable ‘size’
src/Filter.cpp: In member function ‘void Filter::apply_contrast_stretching()’:
src/Filter.cpp:341: warning: unused variable ‘help2’
src/Filter.cpp: In member function ‘std::vector<double, std::allocator<double> > Filter::create_gaussianmask1D(int, double)’:
src/Filter.cpp:378: warning: unused variable ‘kernel_radius’
src/Filter.cpp: In member function ‘std::vector<std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >, std::allocator<std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > > > Filter::create_gaussianmask3D(int, double)’:
src/Filter.cpp:393: warning: unused variable ‘kernel_radius’
src/Filter.cpp: In member function ‘void Filter::apply_gaussian3D(int, double, int)’:
src/Filter.cpp:447: warning: unused variable ‘filtered_valueA’
src/Filter.cpp: In member function ‘void Filter::apply_unsharpmask3D(int, int, float, int)’:
src/Filter.cpp:582: warning: unused variable ‘dsize’
src/Filter.cpp: At global scope:
src/Filter.cpp:528: warning: unused parameter ‘brightness’
src/Filter.cpp:528: warning: unused parameter ‘contrast’
src/Filter.cpp: In member function ‘void Filter::apply_median(int)’:
src/Filter.cpp:781: warning: unused variable ‘index2’
src/Filter.cpp:756: warning: unused variable ‘interp’
src/Filter.cpp: In member function ‘void Filter::apply_harriscorner()’:
src/Filter.cpp:876: warning: unused variable ‘original_value’
src/Filter.cpp:878: warning: unused variable ‘harris_value’
src/Filter.cpp: In member function ‘void Filter::apply_contrast_stretching_filter(std::vector<bool, std::allocator<bool> >)’:
src/Filter.cpp:1129: warning: unused variable ‘help2’
src/Filter.cpp: In member function ‘void Filter::apply_auto_levels_filter(std::vector<bool, std::allocator<bool> >)’:
src/Filter.cpp:1181: warning: unused variable ‘size’
src/Filter.cpp: In member function ‘void Filter::apply_sobel3D(int)’:
src/Filter.cpp:1410: warning: unused variable ‘highThreshold’
src/Filter.cpp: In member function ‘void Filter::gaussian_filter_decomp_init(int, double)’:
src/Filter.cpp:1582: warning: comparison between signed and unsigned integer expressions
src/Filter.cpp:1556: warning: unused variable ‘kernel_radius’
src/Filter.cpp: In member function ‘void Filter::apply_gaussian_filter_decomp(int, double, int, std::vector<bool, std::allocator<bool> >)’:
src/Filter.cpp:1675: warning: unused variable ‘filtered_valueG’
src/Filter.cpp:1676: warning: unused variable ‘filtered_valueB’
src/Filter.cpp:1677: warning: unused variable ‘filtered_valueA’
src/Filter.cpp: At global scope:
src/Filter.cpp:1589: warning: unused parameter ‘sigma’
src/Filter.cpp:1589: warning: unused parameter ‘dimensionality’
src/Filter.cpp: In member function ‘void Filter::apply_gaussian_filter_decomp_window(int, double, int, std::vector<bool, std::allocator<bool> >)’:
src/Filter.cpp:1850: warning: unused variable ‘helper’
src/Filter.cpp:1905: warning: unused variable ‘filtered_valueG’
src/Filter.cpp:1906: warning: unused variable ‘filtered_valueB’
src/Filter.cpp:1907: warning: unused variable ‘filtered_valueA’
src/Filter.cpp: At global scope:
src/Filter.cpp:1836: warning: unused parameter ‘sigma’
src/Filter.cpp:1836: warning: unused parameter ‘dimensionality’
src/Filter.cpp: In member function ‘int Filter::apply_stepperdilate(Vector, int, int, int, int, int, float, int)’:
src/Filter.cpp:3356: warning: unused variable ‘old_helper’
src/Filter.cpp: At global scope:
src/Filter.cpp:3429: warning: unused parameter ‘dimensionality’
src/Filter.cpp:3548: warning: unused parameter ‘dimensionality’
src/Filter.cpp: In member function ‘void Filter::apply_bilateral_filter(float, float, std::vector<bool, std::allocator<bool> >)’:
src/Filter.cpp:3767: warning: unused variable ‘index3’
src/Filter.cpp:3767: warning: unused variable ‘index4’
src/Filter.cpp:3767: warning: unused variable ‘index5’
src/Filter.cpp:3767: warning: unused variable ‘index6’
src/Filter.cpp:3770: warning: unused variable ‘xdis’
src/Filter.cpp:3770: warning: unused variable ‘ydis’
src/Filter.cpp:3770: warning: unused variable ‘zdist’
src/Filter.cpp:3778: warning: unused variable ‘rterm’
src/Filter.cpp: In member function ‘void Filter::apply_gaussian_filter(int, double, int, std::vector<bool, std::allocator<bool> >)’:
src/Filter.cpp:3923: warning: unused variable ‘kernX’
src/Filter.cpp:3923: warning: unused variable ‘kernY’
src/Filter.cpp:3923: warning: unused variable ‘kernZ’
src/Filter.cpp: In member function ‘void Filter::apply_unsharpmask_filter(int, double, int, std::vector<bool, std::allocator<bool> >)’:
src/Filter.cpp:4079: warning: comparison between signed and unsigned integer expressions
src/Filter.cpp:4161: warning: unused variable ‘filtered_valueG’
src/Filter.cpp:4162: warning: unused variable ‘filtered_valueB’
src/Filter.cpp:4163: warning: unused variable ‘filtered_valueA’
src/Filter.cpp: At global scope:
src/Filter.cpp:4061: warning: unused parameter ‘dimensionality’
src/Filter.cpp:4389: warning: unused parameter ‘dimensionality’
src/Filter.cpp: In member function ‘void Filter::apply_maxflow(int, int, double, double, double, std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)’:
src/Filter.cpp:4699: warning: comparison between signed and unsigned integer expressions
src/Filter.cpp:4716: warning: comparison between signed and unsigned integer expressions
src/Filter.cpp: In member function ‘int Filter::apply_count(int)’:
src/Filter.cpp:4981: warning: unused variable ‘voxel’
src/Filter.cpp: In member function ‘void Filter::apply_clear(int)’:
src/Filter.cpp:5030: warning: unused variable ‘voxel’
src/Filter.cpp: At global scope:
src/Filter.cpp:5146: warning: unused parameter ‘dstchan’
src/Filter.cpp: In member function ‘void Filter::apply_contrast_stretching()’:
src/Filter.cpp:317: warning: ‘min_in’ may be used uninitialized in this function
src/Filter.cpp:317: warning: ‘max_in’ may be used uninitialized in this function
src/Filter.cpp: In member function ‘void Filter::apply_contrast_stretching_filter(std::vector<bool, std::allocator<bool> >)’:
src/Filter.cpp:1105: warning: ‘min_in’ may be used uninitialized in this function
src/Filter.cpp:1105: warning: ‘max_in’ may be used uninitialized in this function
src/Filter.cpp: In member function ‘void Filter::apply_arithmoperator(int, int, int)’:
src/Filter.cpp:2755: warning: ‘dst’ may be used uninitialized in this function
src/Filter.cpp: In member function ‘void Filter::apply_setoperator(int, int, int)’:
src/Filter.cpp:2845: warning: ‘dst’ may be used uninitialized in this function
src/Filter.cpp: In member function ‘void Filter::apply_harriscorner()’:
src/Filter.cpp:881: warning: ‘pca_eigenval0’ may be used uninitialized in this function
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/Floodfill.o src/Floodfill.cpp
In file included from src/Filter.h:34,
from src/Floodfill.h:16,
from src/Floodfill.cpp:5:
src/Gaussian.h:8: warning: ignoring #pragma warning
src/Floodfill.cpp: In member function ‘void Floodfill::init(int, int, int, int)’:
src/Floodfill.cpp:43: warning: unused variable ‘size’
src/Floodfill.cpp: In member function ‘bool Floodfill::apply_rule(int, int, int, int, int, int, int)’:
src/Floodfill.cpp:233: warning: comparison between signed and unsigned integer expressions
src/Floodfill.cpp:154: warning: unused variable ‘index0’
src/Floodfill.cpp: At global scope:
src/Floodfill.cpp:313: warning: unused parameter ‘connectivity’
src/Floodfill.cpp: In member function ‘void Floodfill::applyfloodfillseededsmoothed(Point3D, int, int)’:
src/Floodfill.cpp:857: warning: unused variable ‘GAUSSIAN_SIZE’
src/Floodfill.cpp:858: warning: unused variable ‘GAUSSIAN_SIGMA’
src/Floodfill.cpp:859: warning: unused variable ‘THRESHOLD_SIZE’
src/Floodfill.cpp:901: warning: unused variable ‘x’
src/Floodfill.cpp:901: warning: unused variable ‘y’
src/Floodfill.cpp:901: warning: unused variable ‘z’
src/Floodfill.cpp:903: warning: unused variable ‘index’
src/Floodfill.cpp:903: warning: unused variable ‘helper’
src/Floodfill.cpp:903: warning: unused variable ‘oldhelper’
src/Floodfill.cpp: In member function ‘void Floodfill::applyfloodfillseeded(Point3D, int, int, int)’:
src/Floodfill.cpp:1004: warning: unused variable ‘x’
src/Floodfill.cpp:1004: warning: unused variable ‘y’
src/Floodfill.cpp:1004: warning: unused variable ‘z’
src/Floodfill.cpp:1005: warning: unused variable ‘recursiondepth’
src/Floodfill.cpp:1006: warning: unused variable ‘index’
src/Floodfill.cpp: In member function ‘void Floodfill::floodfill(int)’:
src/Floodfill.cpp:1116: warning: comparison between signed and unsigned integer expressions
src/Floodfill.cpp: In member function ‘void Floodfill::apply_regiothreshold()’:
src/Floodfill.cpp:1184: warning: comparison between signed and unsigned integer expressions
src/Floodfill.cpp:1189: warning: comparison between signed and unsigned integer expressions
src/Floodfill.cpp:1189: warning: comparison between signed and unsigned integer expressions
src/Floodfill.cpp:1193: warning: comparison between signed and unsigned integer expressions
src/Floodfill.cpp:1178: warning: unused variable ‘index’
src/Floodfill.cpp: In member function ‘void Floodfill::eval_connectivity()’:
src/Floodfill.cpp:1233: warning: comparison between signed and unsigned integer expressions
src/Floodfill.cpp:1236: warning: comparison between signed and unsigned integer expressions
src/Floodfill.cpp:1237: warning: comparison between signed and unsigned integer expressions
src/Floodfill.cpp:1291: warning: comparison between signed and unsigned integer expressions
src/Floodfill.cpp:1256: warning: unused variable ‘regionindex’
src/Floodfill.cpp: In member function ‘void Floodfill::apply_result(int, int)’:
src/Floodfill.cpp:1427: warning: comparison between signed and unsigned integer expressions
src/Floodfill.cpp:1431: warning: comparison between signed and unsigned integer expressions
src/Floodfill.cpp:1436: warning: comparison between signed and unsigned integer expressions
src/Floodfill.cpp:1436: warning: comparison between signed and unsigned integer expressions
src/Floodfill.cpp:1440: warning: comparison between signed and unsigned integer expressions
src/Floodfill.cpp:1419: warning: unused variable ‘index’
src/Floodfill.cpp: In member function ‘int Floodfill::getValue(Point3D, bool, bool, bool)’:
src/Floodfill.cpp:128: warning: ‘value’ may be used uninitialized in this function
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/FunctionEditor.o src/FunctionEditor.cpp
src/FunctionEditor.cpp: In member function ‘void FunctionEditor::addPoint(int, int)’:
src/FunctionEditor.cpp:89: warning: comparison between signed and unsigned integer expressions
src/FunctionEditor.cpp: In member function ‘void FunctionEditor::deletePoint()’:
src/FunctionEditor.cpp:117: warning: comparison between signed and unsigned integer expressions
src/FunctionEditor.cpp: In member function ‘void FunctionEditor::constrain_in_bb()’:
src/FunctionEditor.cpp:196: warning: comparison between signed and unsigned integer expressions
src/FunctionEditor.cpp:237: warning: comparison between signed and unsigned integer expressions
src/FunctionEditor.cpp: In member function ‘void FunctionEditor::constrain_in_neighbours()’:
src/FunctionEditor.cpp:253: warning: comparison between signed and unsigned integer expressions
src/FunctionEditor.cpp: In member function ‘int FunctionEditor::selectPoint(int, int)’:
src/FunctionEditor.cpp:272: warning: comparison between signed and unsigned integer expressions
src/FunctionEditor.cpp: In member function ‘void FunctionEditor::display()’:
src/FunctionEditor.cpp:365: warning: comparison between signed and unsigned integer expressions
src/FunctionEditor.cpp:385: warning: comparison between signed and unsigned integer expressions
src/FunctionEditor.cpp:393: warning: comparison between signed and unsigned integer expressions
src/FunctionEditor.cpp: At global scope:
src/FunctionEditor.cpp:405: warning: unused parameter ‘w’
src/FunctionEditor.cpp:405: warning: unused parameter ‘h’
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/Gaussian.o src/Gaussian.cpp
In file included from src/Gaussian.cpp:5:
src/Gaussian.h:8: warning: ignoring #pragma warning
src/Gaussian.cpp: In member function ‘void Gaussian::clear_all()’:
src/Gaussian.cpp:21: warning: comparison between signed and unsigned integer expressions
src/Gaussian.cpp:22: warning: comparison between signed and unsigned integer expressions
src/Gaussian.cpp:27: warning: comparison between signed and unsigned integer expressions
src/Gaussian.cpp:34: warning: comparison between signed and unsigned integer expressions
src/Gaussian.cpp: In member function ‘const std::vector<float, std::allocator<float> > Gaussian::gaussianmask1Df(float, float)’:
src/Gaussian.cpp:101: warning: comparison between signed and unsigned integer expressions
src/Gaussian.cpp: At global scope:
src/Gaussian.cpp:82: warning: unused parameter ‘s’
src/Gaussian.cpp: In member function ‘const std::vector<double, std::allocator<double> > Gaussian::gaussianmask1D(double, double)’:
src/Gaussian.cpp:126: warning: comparison between signed and unsigned integer expressions
src/Gaussian.cpp: At global scope:
src/Gaussian.cpp:107: warning: unused parameter ‘s’
src/Gaussian.cpp: In member function ‘const std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > Gaussian::gaussianmask2D(double, double)’:
src/Gaussian.cpp:139: warning: comparison between signed and unsigned integer expressions
src/Gaussian.cpp: In member function ‘const std::vector<std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > >, std::allocator<std::vector<std::vector<double, std::allocator<double> >, std::allocator<std::vector<double, std::allocator<double> > > > > > Gaussian::gaussianmask3D(double, double)’:
src/Gaussian.cpp:176: warning: comparison between signed and unsigned integer expressions
src/Gaussian.cpp:179: warning: comparison between signed and unsigned integer expressions
src/Gaussian.cpp:180: warning: comparison between signed and unsigned integer expressions
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/GL_Ext.o src/GL_Ext.cpp
src/GL_Ext.cpp:28: warning: unused parameter ‘file’
src/GL_Ext.cpp:28: warning: unused parameter ‘line’
src/GL_Ext.cpp: In member function ‘void GL_Ext::load_GLextension()’:
src/GL_Ext.cpp:114: warning: deprecated conversion from string constant to ‘char*’
src/GL_Ext.cpp:114: warning: deprecated conversion from string constant to ‘char*’
src/GL_Ext.cpp:139: warning: deprecated conversion from string constant to ‘char*’
src/GL_Ext.cpp:172: warning: deprecated conversion from string constant to ‘char*’
src/GL_Ext.cpp:173: warning: deprecated conversion from string constant to ‘char*’
src/GL_Ext.cpp:174: warning: deprecated conversion from string constant to ‘char*’
src/GL_Ext.cpp:175: warning: deprecated conversion from string constant to ‘char*’
src/GL_Ext.cpp:234: warning: deprecated conversion from string constant to ‘char*’
src/GL_Ext.cpp:262: warning: unused variable ‘max_size’
src/GL_Ext.cpp:293: warning: deprecated conversion from string constant to ‘char*’
src/GL_Ext.cpp:307: warning: deprecated conversion from string constant to ‘char*’
src/GL_Ext.cpp:311: warning: deprecated conversion from string constant to ‘char*’
src/GL_Ext.cpp:334: warning: deprecated conversion from string constant to ‘char*’
src/GL_Ext.cpp:347: warning: deprecated conversion from string constant to ‘char*’
src/GL_Ext.cpp: In function ‘void print_glError()’:
src/GL_Ext.cpp:50: warning: ‘error_msg’ may be used uninitialized in this function
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/GL_FrameBufferObject.o src/GL_FrameBufferObject.cpp
src/GL_FrameBufferObject.cpp: In member function ‘bool GL_FrameBufferObject::initialize(int, int, int)’:
src/GL_FrameBufferObject.cpp:27: warning: comparison between signed and unsigned integer expressions
src/GL_FrameBufferObject.cpp:28: warning: comparison between signed and unsigned integer expressions
src/GL_FrameBufferObject.cpp:39: warning: unused variable ‘depth’
src/GL_FrameBufferObject.cpp: In member function ‘bool GL_FrameBufferObject::initialize(int, int, GLenum, GLuint, GLuint)’:
src/GL_FrameBufferObject.cpp:84: warning: comparison between signed and unsigned integer expressions
src/GL_FrameBufferObject.cpp:85: warning: comparison between signed and unsigned integer expressions
src/GL_FrameBufferObject.cpp: At global scope:
src/GL_FrameBufferObject.cpp:66: warning: unused parameter ‘depthformat’
src/GL_FrameBufferObject.cpp: In member function ‘void GL_FrameBufferObject::attachTexture(GLenum, GLenum, GLuint)’:
src/GL_FrameBufferObject.cpp:133: warning: comparison between signed and unsigned integer expressions
src/GL_FrameBufferObject.cpp: In member function ‘bool GL_FrameBufferObject::checkFrameBufferStatus()’:
src/GL_FrameBufferObject.cpp:148: warning: format ‘%s’ expects type ‘char*’, but argument 2 has type ‘int’
src/GL_FrameBufferObject.cpp:151: warning: format ‘%s’ expects type ‘char*’, but argument 2 has type ‘int’
src/GL_FrameBufferObject.cpp:154: warning: format ‘%s’ expects type ‘char*’, but argument 2 has type ‘int’
src/GL_FrameBufferObject.cpp:157: warning: format ‘%s’ expects type ‘char*’, but argument 2 has type ‘int’
src/GL_FrameBufferObject.cpp:160: warning: format ‘%s’ expects type ‘char*’, but argument 2 has type ‘int’
src/GL_FrameBufferObject.cpp:163: warning: format ‘%s’ expects type ‘char*’, but argument 2 has type ‘int’
src/GL_FrameBufferObject.cpp:166: warning: format ‘%s’ expects type ‘char*’, but argument 2 has type ‘int’
src/GL_FrameBufferObject.cpp:169: warning: format ‘%s’ expects type ‘char*’, but argument 2 has type ‘int’
src/GL_FrameBufferObject.cpp:175: warning: format ‘%s’ expects type ‘char*’, but argument 2 has type ‘int’
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/GL_ShaderObj.o src/GL_ShaderObj.cpp
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::shader_info(GLhandleARB)’:
src/GL_ShaderObj.cpp:23: warning: deprecated conversion from string constant to ‘char*’
src/GL_ShaderObj.cpp:27: warning: deprecated conversion from string constant to ‘char*’
src/GL_ShaderObj.cpp:41: warning: deprecated conversion from string constant to ‘char*’
src/GL_ShaderObj.cpp: In member function ‘int GL_ShaderOBJ::shader_size(const char*, EShaderType)’:
src/GL_ShaderObj.cpp:81: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘int GL_ShaderOBJ::read_shaderSRC(const char*, GLcharARB**, GLcharARB**)’:
src/GL_ShaderObj.cpp:161: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp:175: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp:183: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::BindAttrib(int, const GLcharARB*)’:
src/GL_ShaderObj.cpp:204: warning: deprecated conversion from string constant to ‘char*’
src/GL_ShaderObj.cpp: In member function ‘GLint GL_ShaderOBJ::GetAttribLoc(const GLcharARB*)’:
src/GL_ShaderObj.cpp:215: warning: deprecated conversion from string constant to ‘char*’
src/GL_ShaderObj.cpp: In member function ‘GLint GL_ShaderOBJ::GetUniLoc(const GLcharARB*)’:
src/GL_ShaderObj.cpp:227: warning: deprecated conversion from string constant to ‘char*’
src/GL_ShaderObj.cpp: In member function ‘int GL_ShaderOBJ::install_shader(const GLcharARB*, const GLcharARB*)’:
src/GL_ShaderObj.cpp:249: warning: deprecated conversion from string constant to ‘char*’
src/GL_ShaderObj.cpp:257: warning: deprecated conversion from string constant to ‘char*’
src/GL_ShaderObj.cpp:276: warning: deprecated conversion from string constant to ‘char*’
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform1f(char*, GLfloat)’:
src/GL_ShaderObj.cpp:290: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform2f(char*, GLfloat, GLfloat)’:
src/GL_ShaderObj.cpp:303: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform3f(char*, GLfloat, GLfloat, GLfloat)’:
src/GL_ShaderObj.cpp:316: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform4f(char*, GLfloat, GLfloat, GLfloat, GLfloat)’:
src/GL_ShaderObj.cpp:328: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform1i(char*, GLint)’:
src/GL_ShaderObj.cpp:340: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform2i(char*, GLint, GLint)’:
src/GL_ShaderObj.cpp:353: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform3i(char*, GLint, GLint, GLint)’:
src/GL_ShaderObj.cpp:366: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform4i(char*, GLint, GLint, GLint, GLint)’:
src/GL_ShaderObj.cpp:378: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform1iv(char*, GLsizei, GLint*)’:
src/GL_ShaderObj.cpp:391: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform2iv(char*, GLsizei, GLint*)’:
src/GL_ShaderObj.cpp:403: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform3iv(char*, GLsizei, GLint*)’:
src/GL_ShaderObj.cpp:415: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform4iv(char*, GLsizei, GLint*)’:
src/GL_ShaderObj.cpp:427: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform1fv(char*, GLsizei, GLfloat*)’:
src/GL_ShaderObj.cpp:440: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform2fv(char*, GLsizei, GLfloat*)’:
src/GL_ShaderObj.cpp:452: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform3fv(char*, GLsizei, GLfloat*)’:
src/GL_ShaderObj.cpp:464: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniform4fv(char*, GLsizei, GLfloat*)’:
src/GL_ShaderObj.cpp:476: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniformMatrix2fv(char*, GLsizei, GLboolean, GLfloat*)’:
src/GL_ShaderObj.cpp:489: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniformMatrix3fv(char*, GLsizei, GLboolean, GLfloat*)’:
src/GL_ShaderObj.cpp:502: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/GL_ShaderObj.cpp: In member function ‘void GL_ShaderOBJ::sendUniformMatrix4fv(char*, GLsizei, GLboolean, GLfloat*)’:
src/GL_ShaderObj.cpp:515: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/Global.o src/Global.cpp
src/Global.cpp:13: warning: deprecated conversion from string constant to ‘char*’
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/Main.o src/Main.cpp
In file included from src/Filter.h:34,
from src/MarchingCubes.h:14,
from src/QtGLWidget.h:39,
from src/QtMainWindow.h:40,
from src/Main.cpp:19:
src/Gaussian.h:8: warning: ignoring #pragma warning
In file included from ./omero/model/DatasetImageLinkI.h:14,
from src/OMEROLoader.h:28,
from src/VolIO.h:45,
from src/VolumeRender.h:24,
from src/QtGLWidget.h:45,
from src/QtMainWindow.h:40,
from src/Main.cpp:19:
./omero/model/DetailsI.h:91: warning: unused parameter ‘current’
./omero/model/DetailsI.h:95: warning: unused parameter ‘current’
./omero/model/DetailsI.h:100: warning: unused parameter ‘current’
./omero/model/DetailsI.h:104: warning: unused parameter ‘current’
./omero/model/DetailsI.h:109: warning: unused parameter ‘current’
./omero/model/DetailsI.h:113: warning: unused parameter ‘current’
./omero/model/DetailsI.h:118: warning: unused parameter ‘current’
./omero/model/DetailsI.h:122: warning: unused parameter ‘current’
./omero/model/DetailsI.h:127: warning: unused parameter ‘current’
In file included from ./omero/model/DatasetImageLinkI.h:14,
from src/OMEROLoader.h:28,
from src/VolIO.h:45,
from src/VolumeRender.h:24,
from src/QtGLWidget.h:45,
from src/QtMainWindow.h:40,
from src/Main.cpp:19:
./omero/model/DetailsI.h:131: warning: unused parameter ‘current’
./omero/model/DetailsI.h:136: warning: unused parameter ‘current’
./omero/model/DetailsI.h:140: warning: unused parameter ‘current’
src/Main.cpp: In function ‘void create_sample_data()’:
src/Main.cpp:114: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result
src/QtGLWidget.h: At global scope:
src/QtGLWidget.h:67: warning: ‘timer_interval’ defined but not used
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I. -I. -Iomero -I/usr/X11R6/include -Ibuild -o build/MarchingCubes.o src/MarchingCubes.cpp
In file included from src/Filter.h:34,
from src/MarchingCubes.h:14,
from src/MarchingCubes.cpp:1:
src/Gaussian.h:8: warning: ignoring #pragma warning
In file included from ./omero/API.h:39,
from ./omero/min.h:16,
from ./omero/all.h:9,
from src/MyDefines.h:15,
from src/VolumeObject.h:13,
from src/MarchingCubes.h:13,
from src/MarchingCubes.cpp:1:
./omero/cmd/API.h:69: error: expected identifier before ‘int’
./omero/cmd/API.h:69: error: multiple types in one declaration
./omero/cmd/API.h:101: error: expected identifier before ‘int’
./omero/cmd/API.h:101: error: multiple types in one declaration
./omero/cmd/API.h:102: error: ‘bool omero::cmd::operator==(const int&, const int&)’ must have an argument of class or enumerated type
./omero/cmd/API.h:103: error: ‘bool omero::cmd::operator<(const int&, const int&)’ must have an argument of class or enumerated type
./omero/cmd/API.h:143: error: ‘Ice::Object* IceInternal::upCast’ redeclared as different kind of symbol
./omero/cmd/API.h:141: error: previous declaration of ‘IceProxy::Ice::Object* IceInternal::upCast(IceProxy::omero::cmd::Handle*)’
./omero/cmd/API.h:143: error: expected unqualified-id before ‘int’
./omero/cmd/API.h:144: error: ‘IceProxy::Ice::Object* IceInternal::upCast’ redeclared as different kind of symbol
./omero/cmd/API.h:141: error: previous declaration of ‘IceProxy::Ice::Object* IceInternal::upCast(IceProxy::omero::cmd::Handle*)’
./omero/cmd/API.h:144: error: expected unqualified-id before ‘int’
./omero/cmd/API.h:181: error: template argument 1 is invalid
./omero/cmd/API.h:181: error: invalid type in declaration before ‘;’ token
./omero/cmd/API.h:182: error: template argument 1 is invalid
./omero/cmd/API.h:182: error: invalid type in declaration before ‘;’ token
./omero/cmd/API.h:584: error: expected identifier before ‘int’
./omero/cmd/API.h:584: error: expected unqualified-id before ‘:’ token
src/MarchingCubes.cpp:534: error: expected ‘}’ at end of input
src/MarchingCubes.cpp:534: error: expected ‘}’ at end of input
src/MarchingCubes.cpp:534: error: expected ‘}’ at end of input
make: *** [build/MarchingCubes.o] Erreur 1
======================