Cliff Rhodes of 1:106/2000@fidonet.org said to Erik Warmelink:
--> Erik Warmelink wrote to Cliff Rhodes <--
EW> CR> class KeyState {
EW> CR> private:
EW> CR> const char far *ks; // Pointer to BIOS keyboard flag
EW>
EW>Shouldn't that be
EW> const volatile char far *ks;
EW>since the flag can be changed by external causes (like the user)?
CR> I think you've got a good point!
Shouldn't that be
volatile char far * const ks;
[ const far pointer to volatile char ]
--- msged 2.08d
---------------
* Origin: My other office doesn't have windows (1:231/50.4@fidonet.org)
|