[cfe-dev] build failure: AArch64BaseInfo.h has questionable enum values

Eric Niebler eniebler at boost.org
Tue Nov 19 16:16:19 PST 2013


lib/Target/AArch64/Utils/AArch64BaseInfo.h has the following enum:

namespace A64Layout {
    enum VectorLayout {
        Invalid = -1,
/*...*
        // Bare layout for the 128-bit vector
        // (only show ".b", ".h", ".s", ".d" without vector number)
        _B,
        _H,
        _S,
        _D
    };
}

My build on cygwin fails because _B and _S are platform macros. Besides,
in C++ identifiers with a leading underscore-capital are reserved. I
suggest changing these four.

-- 
Eric Niebler
Boost.org
http://www.boost.org



More information about the cfe-dev mailing list