[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 14:01:17 PDT 2018


aheejin created this revision.
aheejin added a reviewer: jlpeyton.
Herald added subscribers: openmp-commits, guansong.
aheejin edited the summary of this revision.

This line <https://github.com/llvm-mirror/openmp/blob/0ed912c7a798f5c4f65f8bb6b492e07fab7f4cea/runtime/src/kmp_gsupport.cpp#L1459> added in https://reviews.llvm.org/D45327 (https://reviews.llvm.org/rL330282) causes a compilation failure.


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D45786

Files:
  runtime/src/kmp_gsupport.cpp


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.142995.patch
Type: text/x-patch
Size: 493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180418/9079df2c/attachment.bin>


More information about the Openmp-commits mailing list