I tried commenting out the error lines, and it then compiled, but didn't run. If yours doesn't, you can either install an older version of the gcc, or download a current mfaktc compiled in CUDA 3.2 here:
http://mersenneforum.org/mfaktc/
I got my tarball from a different place, but I'm pretty sure it's identical to the link above. Or, if your version runs, please let me know how you did it.