[Openmp-commits] [PATCH] D45786: [OpenMP] Compilation error fix on const char*

Heejin Ahn via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Apr 18 15:25:17 PDT 2018

aheejin updated this revision to Diff 143012.
aheejin added a comment.

Fixing messed up branches

  rOMP OpenMP



Index: runtime/src/kmp_gsupport.cpp
--- runtime/src/kmp_gsupport.cpp
+++ runtime/src/kmp_gsupport.cpp
@@ -1448,7 +1448,7 @@
   kmp_tasking_flags_t *input_flags = (kmp_tasking_flags_t *)&flags;
 #ifdef KMP_DEBUG
-    const char *buff;
+    char *buff;
     buff = __kmp_str_format(
         "GOMP_taskloop: T#%%d: func:%%p data:%%p copy_func:%%p "
         "arg_size:%%ld arg_align:%%ld gomp_flags:0x%%x num_tasks:%%lu "

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45786.143012.patch
Type: text/x-patch
Size: 493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180418/c4a2eeb5/attachment.bin>

More information about the Openmp-commits mailing list