[Openmp-commits] [PATCH] D39755: Remove const from variables with dynamic memory

Andrey Churbanov via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Nov 9 05:31:34 PST 2017


AndreyChurbanov requested changes to this revision.
AndreyChurbanov added a comment.
This revision now requires changes to proceed.

Sorry, was too hasty.

This patch gives me compile error:

trunk/runtime/src/kmp_settings.cpp:1571:3: error: no matching function for call to

      '__kmp_stg_parse_str'
  __kmp_stg_parse_str(name, value, &__kmp_cpuinfo_file);
  ^~~~~~~~~~~~~~~~~~~

So probably the __kmp_cpuinfo_file type should be changed to "char*", or const should be casted out.


https://reviews.llvm.org/D39755





More information about the Openmp-commits mailing list