I'm using Visual C++ 2008 Express to create a static C library.
When I go to use the static library in another project, I get these messages:
static_library.lib(strings.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance 1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification 1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
What do I need to do to my static library project to resolve these issues? I've been reading documentation and not getting a clear indication of what I need to do to resolve this.
I'm not looking to make changes to the project USING the static library (unless I've made a mistake in that). I want this static library .lib to work as naturally as other libraries without special project treatment.