[all-commits] [llvm/llvm-project] 55c223: Try harder to fix GCC 5.3 build

Hans via All-commits all-commits at lists.llvm.org
Thu Oct 24 14:43:11 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 55c223a7ed522293cf9995d07d348368c345d1f2
      https://github.com/llvm/llvm-project/commit/55c223a7ed522293cf9995d07d348368c345d1f2
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2019-10-24 (Thu, 24 Oct 2019)

  Changed paths:
    M llvm/lib/MC/XCOFFObjectWriter.cpp

  Log Message:
  -----------
  Try harder to fix GCC 5.3 build

(This time verified locally.)

It was failing with:

llvm/lib/MC/XCOFFObjectWriter.cpp:168:56: error: array must be initialized with a brace-enclosed initializer
   std::array<Section *const, 2> Sections = {&Text, &BSS};
                                                        ^




More information about the All-commits mailing list