-
Notifications
You must be signed in to change notification settings - Fork 9
#2491: debug: convert first argument of string concat to a explicit string #2492
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
diff --git a/src/vt/configs/debug/debug_print.h b/src/vt/configs/debug/debug_print.h
index 1c3dce171..5c51c3f1b 100644
--- a/src/vt/configs/debug/debug_print.h
+++ b/src/vt/configs/debug/debug_print.h
@@ -77,10 +77,9 @@
#define vt_print_colorize \
vt_print_colorize_impl(::vt::debug::bd_green(), "vt", ":")
-#define vt_proc_print_colorize(proc) \
- vt_print_colorize_impl( \
- ::vt::debug::blue(), std::string("[") + std::to_string(proc) + "]", \
- "" \
+#define vt_proc_print_colorize(proc) \
+ vt_print_colorize_impl( \
+ ::vt::debug::blue(), std::string("[") + std::to_string(proc) + "]", "" \
)
#define vt_debug_argument_option(opt) \
|
Pipelines resultsvt-build-amd64-ubuntu-20-04-gcc-9-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-20-04-gcc-10-openmpi-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-20-04-clang-9-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-20-04-gcc-10-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-alpine-3-16-clang-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-24-04-gcc-14-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-24-04-clang-16-zoltan-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-24-04-clang-16-vtk-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-24-04-clang-18-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-22-04-clang-13-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-22-04-clang-12-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-22-04-clang-11-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-22-04-gcc-12-vtk-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-24-04-clang-17-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-22-04-clang-14-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-22-04-clang-15-cpp-cxx20 Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-20-04-gcc-9-ldms-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-20-04-icpx-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-24-04-gcc-13-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-20-04-clang-10-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-20-04-gcc-9-cuda-11-4-3-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-20-04-gcc-9-cuda-12-2-0-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-22-04-gcc-12-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) vt-build-amd64-ubuntu-22-04-gcc-11-cpp Build for f6a0915 (2025-10-13 20:08:15 UTC) |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #2492 +/- ##
===========================================
- Coverage 88.58% 88.57% -0.02%
===========================================
Files 728 728
Lines 31516 31516
===========================================
- Hits 27919 27915 -4
- Misses 3597 3601 +4
🚀 New features to boost your workflow:
|
Fixes #2491
The current code is triggering a compiler bug with C++20 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105651). This works around the bug by converting the first argument to operator+ to a std::string first.