public static CompilerTable = [
     ////////////////////////////////////////////////////////////
     /// \brief DMD
     ////////////////////////////////////////////////////////////
     ["-c"               : "-c",
      "-debug"           : "-debug",
      "-g"               : "-g",
      "-gc"              : "-gc",
      "-I"               : "-I",
      "-inline"          : "-inline",
      "-L"               : "-L",
      "-lib"             : "-lib",
      "-noboundscheck"   : "-noboundscheck",
      "-O"               : "-O",
      "-o-"              : "-o-",
      "-odobjdir"        : "-odobjdir",
      "-offilename"      : "-offilename",
      "-profile"         : "-profile",
      "-release"         : "-release",
      "-unittest"        : "-unittest",
      "-w"               : "-w",
      "-wi"              : "-wi"],

     ////////////////////////////////////////////////////////////
     /// \brief LDC
     ////////////////////////////////////////////////////////////
     ["-c"               : "-c",
      "-debug"           : "-debug",
      "-g"               : "-g",
      "-gc"              : "-gc",
      "-I"               : "-I",
      "-inline"          : "-inline",
      "-L"               : "-L",
      "-lib"             : "-lib",
      "-noboundscheck"   : "-noboundscheck",
      "-O"               : "-O",
      "-o-"              : "-o-",
      "-odobjdir"        : "-odobjdir",
      "-offilename"      : "-offilename",
      "-profile"         : "-profile",
      "-release"         : "-release",
      "-unittest"        : "-unittest",
      "-w"               : "-w",
      "-wi"              : "-wi"],

     ////////////////////////////////////////////////////////////
     /// \brief GDC
     ////////////////////////////////////////////////////////////
     ["-c"               : "-c",
      "-debug"           : "-fdebug",
      "-g"               : "-g",
      "-gc"              : "-g",
      "-I"               : "-I",
      "-inline"          : "-finline-functions",
      "-L"               : "-Wl",
      "-lib"             : "",
      "-noboundscheck"   : "-noboundscheck",
      "-O"               : "-O3",
      "-o-"              : "-fsyntax-only",
      "-odobjdir"        : "-od",
      "-offilename"      : "-o",
      "-profile"         : "-profile",
      "-release"         : "-release",
      "-unittest"        : "-unittest",
      "-w"               : "-Wall",
      "-wi"              : "-Wextra"]
];

Error: variable org.ghrum.installer.option.CompilerTable cannot
infer type from initializer

Reply via email to