I have the following code:
typedef enum
{
MACHINE_PCXT,
MACHINE_PCAT,
MACHINE_PS2
} MachineType;
...
MachineType machineType;
_asm {
mov [machineType], MACHINE_PCXT
}
Now, for some reason, OpenWatcom complains about an invalid operand for the MACHINE_PCXT value (I ported this code over...