Debian 10: switch to C++14
Some libraries, e.g. protobuf, depend on C++11 now. As they are (indirectly) included in some .ah aspect headers, everything has to be compiled with C++11 enabled now. This change switches to C++14 globally. Change-Id: I56a802bd510704d668a2b2c8957e11725fbe98b7
This commit is contained in:
committed by
Horst Schirmeier
parent
924e234db1
commit
8d060ef375
@ -136,7 +136,7 @@ void bx_pit_c::init(void)
|
||||
|
||||
BX_DEBUG(("finished init"));
|
||||
|
||||
BX_DEBUG(("s.last_usec="FMT_LL"d",BX_PIT_THIS s.last_usec));
|
||||
BX_DEBUG(("s.last_usec=" FMT_LL "d",BX_PIT_THIS s.last_usec));
|
||||
BX_DEBUG(("s.timer_id=%d",BX_PIT_THIS s.timer_handle[0]));
|
||||
BX_DEBUG(("s.timer.get_next_event_time=%d",BX_PIT_THIS s.timer.get_next_event_time()));
|
||||
BX_DEBUG(("s.last_next_event_time=%d",BX_PIT_THIS s.last_next_event_time));
|
||||
@ -191,7 +191,7 @@ void bx_pit_c::handle_timer()
|
||||
}
|
||||
BX_PIT_THIS s.last_next_event_time = BX_PIT_THIS s.timer.get_next_event_time();
|
||||
}
|
||||
BX_DEBUG(("s.last_usec="FMT_LL"d",BX_PIT_THIS s.last_usec));
|
||||
BX_DEBUG(("s.last_usec=" FMT_LL "d",BX_PIT_THIS s.last_usec));
|
||||
BX_DEBUG(("s.timer_id=%d",BX_PIT_THIS s.timer_handle[0]));
|
||||
BX_DEBUG(("s.timer.get_next_event_time=%x",BX_PIT_THIS s.timer.get_next_event_time()));
|
||||
BX_DEBUG(("s.last_next_event_time=%d",BX_PIT_THIS s.last_next_event_time));
|
||||
@ -325,7 +325,7 @@ void bx_pit_c::write(Bit32u address, Bit32u dvalue, unsigned io_len)
|
||||
}
|
||||
BX_PIT_THIS s.last_next_event_time = BX_PIT_THIS s.timer.get_next_event_time();
|
||||
}
|
||||
BX_DEBUG(("s.last_usec="FMT_LL"d",BX_PIT_THIS s.last_usec));
|
||||
BX_DEBUG(("s.last_usec=" FMT_LL "d",BX_PIT_THIS s.last_usec));
|
||||
BX_DEBUG(("s.timer_id=%d",BX_PIT_THIS s.timer_handle[0]));
|
||||
BX_DEBUG(("s.timer.get_next_event_time=%x",BX_PIT_THIS s.timer.get_next_event_time()));
|
||||
BX_DEBUG(("s.last_next_event_time=%d",BX_PIT_THIS s.last_next_event_time));
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
#pragma clang diagnostic ignored "-Wc++11-narrowing"
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id$
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@ -663,7 +663,7 @@ Bit32s scsi_device_t::scsi_send_command(Bit32u tag, Bit8u *buf, int lun)
|
||||
case 0x08:
|
||||
case 0x28:
|
||||
case 0x88:
|
||||
BX_DEBUG(("Read (sector "FMT_LL"d, count %d)", lba, len));
|
||||
BX_DEBUG(("Read (sector " FMT_LL "d, count %d)", lba, len));
|
||||
if (lba > max_lba)
|
||||
goto illegal_lba;
|
||||
r->sector = lba;
|
||||
@ -672,7 +672,7 @@ Bit32s scsi_device_t::scsi_send_command(Bit32u tag, Bit8u *buf, int lun)
|
||||
case 0x0a:
|
||||
case 0x2a:
|
||||
case 0x8a:
|
||||
BX_DEBUG(("Write (sector "FMT_LL"d, count %d)", lba, len));
|
||||
BX_DEBUG(("Write (sector " FMT_LL "d, count %d)", lba, len));
|
||||
if (lba > max_lba)
|
||||
goto illegal_lba;
|
||||
r->sector = lba;
|
||||
@ -680,7 +680,7 @@ Bit32s scsi_device_t::scsi_send_command(Bit32u tag, Bit8u *buf, int lun)
|
||||
is_write = 1;
|
||||
break;
|
||||
case 0x35:
|
||||
BX_DEBUG(("Syncronise cache (sector "FMT_LL"d, count %d)", lba, len));
|
||||
BX_DEBUG(("Syncronise cache (sector " FMT_LL "d, count %d)", lba, len));
|
||||
// TODO: flush cache
|
||||
break;
|
||||
case 0x43:
|
||||
|
||||
@ -529,7 +529,7 @@ void bx_virt_timer_c::timer_handler(void)
|
||||
printf("useconds: " FMT_LL "u, ", temp1);
|
||||
printf("expect ticks: " FMT_LL "u, ", temp2);
|
||||
printf("ticks: " FMT_LL "u, ", temp3);
|
||||
printf("diff: "FMT_LL "u\n", temp4);
|
||||
printf("diff: " FMT_LL "u\n", temp4);
|
||||
}
|
||||
# endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user