浏览代码

Make error message more explicit

Cédric Augonnet 15 年之前
父节点
当前提交
9d15d640dd
共有 2 个文件被更改,包括 2 次插入2 次删除
  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: