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

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 18 15:26:55 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL330299: [OpenMP] Compilation error fix on const char* (authored by aheejin, committed by ).
Herald added a subscriber: llvm-commits.

Repository:
  rL LLVM

https://reviews.llvm.org/D45786

Files:
  openmp/trunk/runtime/src/kmp_gsupport.cpp


Index: openmp/trunk/runtime/src/kmp_gsupport.cpp
===================================================================
--- openmp/trunk/runtime/src/kmp_gsupport.cpp
+++ openmp/trunk/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.143013.patch
Type: text/x-patch
Size: 532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180418/305b4f41/attachment.bin>


More information about the llvm-commits mailing list