On Tue, Aug 25, 2020 at 05:33:08PM +0200, Tobias Burnus wrote:
> Improve the error message. Currently code like:
>
> void test (double src[100])
> {
> #pragma omp target map(alloc:src[:])
>
> fails with the surprising
> "for pointer type length expression must be specified"
> as "double
Improve the error message. Currently code like:
void test (double src[100])
{
#pragma omp target map(alloc:src[:])
fails with the surprising
"for pointer type length expression must be specified"
as "double src[100]" is regarded as "double *src".
Thus, one cannot simply extract the "100"