I had to compile all those files who are now in the parse folder seperately, because when I tried to just build target common, the build process got stuck at one of the source files for almost two hours.
Similar problems happen on Windows with some of those files, with a similar method needed to get around it.
Regarding the fix for empire.h: I created a patch file for the fix I applied to empire.h. Without this fix I got a compiler error message at these lines, and I changed them to what I think should be correct. As the build succeeded with this fix, I think I got that right
It looks fine. MSVC doesn't object to the extra namespace specifiers, but they shouldn't be there. I made the change and committed it manually, since it was small.
Where should I post a patch like that? Or to whom shall I send it? I've attached it to this post...
Posting on the forums is usually best.
On windows I'm still out of luck building FO 4502
In addition to the compile tweak mentioned above, I've had issues with linking. I can't get it to work for the new parser files with debug symbols being generated, and I haven't had much luck getting a DLL of just the parser files to link, which would let the rest of the project build with debug symbols. With debug symbols off (a linker option), it links successfully.