- we kept getting /usr/include/math.h in the dependency list for keyboard.cc
and I could never explain it. The problem was that in keyboard.cc it included "math.h" with quotes instead of <math.h> with less than/greater than, so gcc -MM didn't realize it was a system header.
This commit is contained in:
parent
375fcf648b
commit
0d68427d37
@ -372,7 +372,7 @@ keyboard.o: keyboard.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h \
|
||||
../iodev/sb16.h ../iodev/soundlnx.h ../iodev/soundwin.h \
|
||||
../iodev/unmapped.h ../iodev/eth.h ../iodev/ne2k.h \
|
||||
../iodev/guest2host.h ../iodev/slowdown_timer.h \
|
||||
../instrument/stubs/instrument.h /usr/include/math.h scancodes.h
|
||||
../instrument/stubs/instrument.h scancodes.h
|
||||
ne2k.o: ne2k.@CPP_SUFFIX@ ../bochs.h ../config.h ../osdep.h ../debug/debug.h \
|
||||
../bxversion.h ../gui/siminterface.h ../state_file.h ../cpu/cpu.h \
|
||||
../cpu/lazy_flags.h ../memory/memory.h ../pc_system.h ../gui/gui.h \
|
||||
|
@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// $Id: keyboard.cc,v 1.60 2002-09-06 16:43:26 bdenney Exp $
|
||||
// $Id: keyboard.cc,v 1.61 2002-09-20 22:42:29 bdenney Exp $
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// Copyright (C) 2002 MandrakeSoft S.A.
|
||||
@ -48,7 +48,7 @@
|
||||
// Ability to turn translation on or off
|
||||
|
||||
#include "bochs.h"
|
||||
#include "math.h"
|
||||
#include <math.h>
|
||||
#include "scancodes.h"
|
||||
|
||||
#define LOG_THIS bx_keyboard.
|
||||
@ -70,7 +70,7 @@ bx_keyb_c::bx_keyb_c(void)
|
||||
memset( &s, 0, sizeof(s) );
|
||||
BX_KEY_THIS put("KBD");
|
||||
BX_KEY_THIS settype(KBDLOG);
|
||||
BX_DEBUG(("Init $Id: keyboard.cc,v 1.60 2002-09-06 16:43:26 bdenney Exp $"));
|
||||
BX_DEBUG(("Init $Id: keyboard.cc,v 1.61 2002-09-20 22:42:29 bdenney Exp $"));
|
||||
}
|
||||
|
||||
bx_keyb_c::~bx_keyb_c(void)
|
||||
@ -110,7 +110,7 @@ bx_keyb_c::resetinternals(Boolean powerup)
|
||||
void
|
||||
bx_keyb_c::init(bx_devices_c *d, bx_cmos_c *cmos)
|
||||
{
|
||||
BX_DEBUG(("Init $Id: keyboard.cc,v 1.60 2002-09-06 16:43:26 bdenney Exp $"));
|
||||
BX_DEBUG(("Init $Id: keyboard.cc,v 1.61 2002-09-20 22:42:29 bdenney Exp $"));
|
||||
Bit32u i;
|
||||
|
||||
BX_KEY_THIS devices = d;
|
||||
|
Loading…
Reference in New Issue
Block a user