[Openmp-dev] Non-trivial type ... mapped message printed twice

Itaru Kitayama via Openmp-dev openmp-dev at lists.llvm.org
Wed Oct 16 19:09:41 PDT 2019


Hi,
When building a simple program like below with the trunk Clang
I see a warning "warning: Non-trivial type ..." printed twice. Is this
intentional?

#include <iostream>

class A {
public:
     A() {};
};

int main()
{
 A a[100];
#pragma omp target teams distribute parallel for map(to: a[0:100])
    for(int i=0; i<10; i++) {
    }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20191017/03ce45f7/attachment.html>


More information about the Openmp-dev mailing list