Explorar o código

Make error message more explicit

Cédric Augonnet %!s(int64=15) %!d(string=hai) anos
pai
achega
9d15d640dd
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      examples/starpufft/starpufftx1d.c
  2. 1 1
      examples/starpufft/starpufftx2d.c

+ 1 - 1
examples/starpufft/starpufftx1d.c

@@ -471,7 +471,7 @@ STARPUFFT(plan_dft_1d)(int n, int sign, unsigned flags)
 					sign, _FFTW_FLAGS);
 			STARPU_ASSERT(plan->plans[workerid].plan2_cpu);
 #else
-#warning libstarpufft can not work correctly without libfftw3
+#warning libstarpufft can not work correctly if libfftw3 is not installed
 #endif
 			break;
 		case STARPU_CUDA_WORKER:

+ 1 - 1
examples/starpufft/starpufftx2d.c

@@ -468,7 +468,7 @@ STARPUFFT(plan_dft_2d)(int n, int m, int sign, unsigned flags)
 					sign, _FFTW_FLAGS);
 			STARPU_ASSERT(plan->plans[workerid].plan2_cpu);
 #else
-#warning libstarpufft can not work correctly without libfftw3
+#warning libstarpufft can not work correctly if libfftw3 is not installed
 #endif
 			break;
 		case STARPU_CUDA_WORKER: