Let's try fix the first thing first. I actually remember seeing this error, but I don't remember how the hell I fixed it. The message about '>>' operators might be related to the size of int64 a la: https://support.microsoft.com/en-nz/help/168440/you-may-rece...
You need to tell Visual Studio the whole code needs to be handled as 32 bit.
Did you follow these steps?
1. Added _USE_32BIT_TIME_T to "Preprocessor Definitions" which I found under Alt-F7 "Configuration properties -> C/C++ -> Preprocessor"
2. Added WIN32 and _WIN32 to Preprocessor Definitions (this seemed not ti fix anything, but I did this for superstition)
It could be that step 2 helped me overcome the compile error after all. Here are my settings:
Under preprocessor definitions (Configuration->C/C++->Preprocessor) for Main, I have:
and for FeLib, I have:
Have a look in the attached pictures. Let me know if it helps or not