I think that we may have a misunderstanding of terms, when you say that the program crashes at mpz_init(@p) does that mean that the program successfully compiled (without your commenting-out) and then crashed when you run the executable?
or do you get errors when trying to compile the program?
if so, then please post the error messages.
also, if you run the executable from your Windows 10 on the Windows 7 PC, does it crash or run OK?
Let's see. No errors using the compiler from the command line on either machine. The compiled program from my Windows 10 system crashes on the Windows 7 system. I only compiled code without comments.
I just realized I have a third system I can try it on. My Dell laptop. It is Windows 7 Pro x64 also....
No go on the laptop either. This has got to be a Windows 7 issue, in my case
: Is FB, and all its libraries, a 32 bit process or is it all 64 bit? I do not recall it specifying one way or another. Both Window 7 and 10 will run 32-bit applications. If FB is a combination of both 32-bit and 64-bit elements, then this may cause problems.