When building a static library which contains duplicate definition of a function, MSVC++ 2013 gives me just a warning:
LNK4006 "... already defined in ... second definition ignored"?
I'm afraid that a warning is too easy to miss. Is it possible to make MSVC++ 2013 to report an error and fail the build if multiple definitions for the same function is found (in different .cpp files)?
Note that the reverse of the solution suggested here (i.e. Project Settings > linker > uncheck 'Force file output') is not applicable because that's for an executable, but in this question a static library is in focus thus no "linker" project option.