We run into this error when compiling with clang version 13.0.0 (clang-1300.0.29.3) :
/test/hotspot/gtest/logging/logTestUtils.inline.hpp:35:70: error: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Werror,-Wstring-concatenation]
"=", "+", " ", "+=", "+=*", "*+", " +", "**", "++", ".", ",", ",," ",+",
Looks like the is a "," missing ?
/test/hotspot/gtest/logging/logTestUtils.inline.hpp:35:70: error: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Werror,-Wstring-concatenation]
"=", "+", " ", "+=", "+=*", "*+", " +", "**", "++", ".", ",", ",," ",+",
Looks like the is a "," missing ?
- duplicates
-
JDK-8274265 Suspicious string concatenation in logTestUtils.inline.hpp
- Resolved
- links to
-
Review openjdk/jdk/5680