Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8274283

string-concatenation build warning as error with clang 13 on macOS aarch64

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3
    • None
    • 18
    • hotspot
    • None
    • aarch64
    • os_x

    Description

      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 ?

      Attachments

        Issue Links

          Activity

            People

              mbaesken Matthias Baesken
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: