mirror of
https://github.com/intel/llvm.git
synced 2026-01-27 06:06:34 +08:00
[OpenMP] Compilation error fix on const char*
Summary:
This line
(0ed912c7a7/runtime/src/kmp_gsupport.cpp (L1459))
added in D45327 (rL330282) causes a compilation failure.
Reviewers: jlpeyton
Subscribers: guansong, openmp-commits
Differential Revision: https://reviews.llvm.org/D45786
llvm-svn: 330299
This commit is contained in:
@@ -1448,7 +1448,7 @@ void __GOMP_taskloop(void (*func)(void *), void *data,
|
||||
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 "
|
||||
|
||||
Reference in New Issue
Block a user