I have recently discovered that if some simple module or function is placed in a library (ostensibly to facilitate code reuse) that the library must be produced in a large number of different versions.
According to the help topic "Specifying Consistent Library Types" One cannot just write a function that say, multiplies two numbers and be able to reuse the lib file in another project unless it is comiled with exactly the same run-time libraries as the client project. Never-mind that we are NOT doing anything fancy.
Just having to maintain 3 different workspaces (and a total of 6 versions= 3 types x 2 for debug and nondebug) for EACH library puts this out of the realm of reason.
I sure hope that I have misuderstood, but the annoying LNK4098 warning seems pretty definitive.
Any ideas?
TimH
Just how reusable is fortran?
For more complete information about compiler optimizations, see our Optimization Notice.



