It's not Windows 7.
One possible cause is the IJ mode. You can change it in general config.
There are many different "flavors" of g-code. However, it's more likely that Mach would give an error and not run rather than run incorrectly. But it's certainly possible.