Clang: need a GCC diagnostic push for every pop
This commit is contained in:
parent
221320af47
commit
d557624469
|
@ -69,6 +69,7 @@ namespace Kernel
|
|||
* publicly provide via a 'typedef Genode::Cpu::Arch_regs Arch_regs'.
|
||||
* Then, the 'Genode::Cpu' could be inherited privately.
|
||||
*/
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
|
||||
|
||||
class Kernel::Cpu : public Genode::Cpu, private Irq::Pool, private Timeout
|
||||
|
|
Loading…
Reference in New Issue