Array of associative array.
Auto cannot infer type from initializer
agustin.l.alvarez at hotmail.com
Mon Oct 28 14:26:40 PDT 2013
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
More information about the Digitalmars-d-learn
mailing list