Conform to OpenMP 4.0 (fixes #5177)

This commit is contained in:
Flössie
2019-02-17 10:23:13 +01:00
parent 8c7555f4a8
commit e491c42b5e

View File

@@ -388,7 +388,7 @@ void RawImageSource::jdl_interpolate_omp() // from "Lassus"
}
#ifdef _OPENMP
#pragma omp parallel default(none) shared(image,width,height,u,w,v,y,x,z,dif,chr) private(row,col,f,g,indx,c,d,i)
#pragma omp parallel shared(image,width,height,u,w,v,y,x,z,dif,chr) private(row,col,f,g,indx,c,d,i)
#endif
{
#ifdef _OPENMP
@@ -1159,7 +1159,7 @@ void RawImageSource::igv_interpolate(int winw, int winh)
}
#ifdef _OPENMP
#pragma omp parallel default(none) shared(rgb,vdif,hdif,chr)
#pragma omp parallel shared(rgb,vdif,hdif,chr)
#endif
{
__m128 ngv, egv, wgv, sgv, nvv, evv, wvv, svv, nwgv, negv, swgv, segv, nwvv, nevv, swvv, sevv, tempv, temp1v, temp2v, temp3v, temp4v, temp5v, temp6v, temp7v, temp8v;
@@ -1548,7 +1548,7 @@ void RawImageSource::igv_interpolate(int winw, int winh)
}
#ifdef _OPENMP
#pragma omp parallel default(none) shared(rgb,vdif,hdif,chr)
#pragma omp parallel shared(rgb,vdif,hdif,chr)
#endif
{