Jump to content
  • Advertisement
Sign in to follow this  
jackiechan

Overriding CRT libraries in VS2005

This topic is 4283 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm migrating my projects from 2003 to 2005. I'm using my own version of the crt libs (malloc, calloc, etc). In 2003, I was able to supply my own implementations and was able to link to them. I'm starting to move over to 2005 and I'm getting a lot of redefinition warnings: cmemory.cpp(173) : warning C4565: 'malloc' : redefinition; the symbol was previously declared with __declspec(restrict) and multiply symbol errors: LIBCMT.lib(calloc.obj) : error LNK2005: _calloc already defined in cmemory.lib(cmemory.obj) Any new compiler/linker options or features I might have overlooked that would allow me to do this again?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!