The variables in kmp_lock.cpp are really arrays of function pointers
that return void or int, not pointers to functions that return void*
or int*. The other changes are only cosmetic.
Details
Details
Diff Detail
Diff Detail
Event Timeline
openmp/runtime/src/kmp_runtime.cpp | ||
---|---|---|
5708 | I think these extra parentheses " (*)" can also be changed to "*". |
Comment Actions
LGTM with @AndreyChurbanov comment addressed.
openmp/runtime/cmake/config-ix.cmake | ||
---|---|---|
56 | Good (that we enable the warning), bad that there are so many disabled... |
openmp/runtime/src/kmp_runtime.cpp | ||
---|---|---|
5708 | I've opted to just remove the cast altogether. (I'm not really sure why we need a pointer to kmp_team_t *here, but I guess there have been $reasons...) |
Good (that we enable the warning), bad that there are so many disabled...