mirror of
https://github.com/holub/mame
synced 2025-07-05 18:08:04 +03:00
begin preliminary GCC 8 support (nw)
This commit is contained in:
parent
b5fabb52eb
commit
e651a1678d
@ -1035,6 +1035,13 @@ end
|
||||
-- array bounds checking seems to be buggy in 4.8.1 (try it on video/stvvdp1.c and video/model1.c without -Wno-array-bounds)
|
||||
"-Wno-array-bounds",
|
||||
}
|
||||
if (version >= 80000) then
|
||||
buildoptions {
|
||||
"-Wno-format-overflow", -- try machine/bfm_sc45_helper.cpp in GCC 8.0.1, among others
|
||||
"-Wno-class-memaccess", -- many instances in ImGui and BGFX
|
||||
"-Wno-stringop-truncation", -- ImGui again
|
||||
}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -198,7 +198,7 @@ static constexpr uint32_t ROR_32(uint32_t A, uint32_t C) { return MASK_OUT_AB
|
||||
/* Access the CPU registers */
|
||||
inline uint32_t (®_DA())[16] { return m_dar; } /* easy access to data and address regs */
|
||||
inline uint32_t (®_D())[16] { return m_dar; }
|
||||
inline uint32_t (*REG_A()) { return (m_dar+8); }
|
||||
inline uint32_t *REG_A() { return (m_dar+8); }
|
||||
inline uint32_t (®_SP_BASE())[7]{ return m_sp; }
|
||||
inline uint32_t ®_USP() { return m_sp[0]; }
|
||||
inline uint32_t ®_ISP() { return m_sp[4]; }
|
||||
|
Loading…
Reference in New Issue
Block a user