mirror of
https://github.com/holub/mame
synced 2025-10-04 16:34:53 +03:00
More GCC 8 (nw)
This commit is contained in:
parent
4f10cca061
commit
45977d9baa
@ -1039,6 +1039,7 @@ end
|
||||
buildoptions {
|
||||
"-Wno-format-overflow", -- try machine/bfm_sc45_helper.cpp in GCC 8.0.1, among others
|
||||
"-Wno-stringop-truncation", -- ImGui again
|
||||
"-Wno-stringop-overflow", -- formats/victor9k_dsk.cpp bugs the compiler
|
||||
}
|
||||
buildoptions_cpp {
|
||||
"-Wno-class-memaccess", -- many instances in ImGui and BGFX
|
||||
|
@ -373,7 +373,7 @@ bool hpi_format::get_next_sector(const uint8_t *bitstream , int bitstream_size ,
|
||||
}
|
||||
}
|
||||
// Then for DATA block
|
||||
int data_pos;
|
||||
int data_pos = 0;
|
||||
block = get_next_id_n_block(bitstream , bitstream_size , pos , data_pos);
|
||||
if (block.size() == 0) {
|
||||
return false;
|
||||
|
@ -1678,7 +1678,7 @@ void rainbow_state::hdc_reset()
|
||||
|
||||
// Return 'hard_disk_file' object for harddisk 1 (fixed).
|
||||
// < nullptr if geometry is insane or other errors occured >
|
||||
hard_disk_file *(rainbow_state::rainbow_hdc_file(int drv))
|
||||
hard_disk_file *rainbow_state::rainbow_hdc_file(int drv)
|
||||
{
|
||||
m_hdc_drive_ready = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user