Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

warpexplorer

how do you get rid of useless dll functions?

This topic is 5879 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 have a dll with a big pile of functions in it. This wouldn''t normally be a problem except that I''m only exporting a couple of them and those are only useing about 15 more. Which means that I have a slightly smaller big pile of functions that are not being used and not being exported. If I look in my .map file I find that these functions, even though they are in no way being used, are takeing up a HUGE amoung of space (about 400k). The obvious solution is to remove the unused functions from my code, but I will probably be using alot of them later and dont really want to go though them all looking for the ones I dont need for the moment. Is there any compiler option that removes unused code from the final build? (I''m using MSVC by the way) thanks

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!