[Debian-med-packaging] Bug#721931: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]

Mathieu Malaterre malat at debian.org
Thu Sep 5 15:30:08 UTC 2013


Package: imagevis3d

For some reason, code is using openmp, but does not set gcc flags:

g++ -c -DPACKAGE_MANAGER -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -std=c++0x
-fno-strict-aliasing -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security
-D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT -Wall -W -DQT_WEBKIT
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL
-I/usr/include/qt4 -I. -I3rdParty/GLEW -IIO/3rdParty/boost
-IIO/3rdParty/zlib -IBasics -IIO/exception -I/usr/include/lua5.2
-I/usr/X11R6/include -I. -o Build/objects/Histogram2DDataBlock.o
IO/UVF/Histogram2DDataBlock.cpp
IO/UVF/Histogram2DDataBlock.cpp:378:0: warning: ignoring #pragma omp
parallel [-Wunknown-pragmas]
 # pragma omp parallel for collapse(3) shared(fMaxGradMagnitude)
 ^
IO/UVF/Histogram2DDataBlock.cpp:388:0: warning: ignoring #pragma omp
flush [-Wunknown-pragmas]
               #pragma omp flush(fMaxGradMagnitude)
 ^
IO/UVF/Histogram2DDataBlock.cpp:390:0: warning: ignoring #pragma omp
critical [-Wunknown-pragmas]
               #pragma omp critical
 ^
IO/UVF/Histogram2DDataBlock.cpp:414:0: warning: ignoring #pragma omp
parallel [-Wunknown-pragmas]
         #pragma omp parallel for firstprivate(fMaxGradMagnitude)
 ^
IO/UVF/Histogram2DDataBlock.cpp:435:0: warning: ignoring #pragma omp
atomic [-Wunknown-pragmas]
               #pragma omp atomic
 ^
^Cmake[3]: *** Deleting file `Build/objects/Histogram2DDataBlock.o'



More information about the Debian-med-packaging mailing list