I get a linker error:
1>libifcoremt.lib(for_main.obj) : error LNK2019: unresolved external symbol _MAIN__ referenced in function _main
I don't have a function _main, and I never call _MAIN__. So what's
going on? I have some Fortran code in a lib and the C++ code as the
main project. This worked on VS6 and CVF fortran.
I tried adding a function
but then the linker complained about duplicate definitions. Advice, someone?