Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 86053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:11:09+00:00 2026-05-10T22:11:09+00:00

We are considering moving the win32 build of our cross-platform C++ application from MS

  • 0

We are considering moving the win32 build of our cross-platform C++ application from MS Visual Studio 2003 to MS Visual Studio 2005. (Yes, very forward-looking of us 😉

Should we expect to many code changes to get it compiling and working?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T22:11:09+00:00Added an answer on May 10, 2026 at 10:11 pm

    I’ve just migrated a comparatively large codebase from VS2003 to VS2008 via VS2005 and the majority of issues I found were const/non-const issues like assigning the return value of a function that returns a const char * to char *. Both VS2005 and VS2008 are a lot more picky when it comes to const correctness and if your existing codebase is a bit sloppy, sorry, old school when it comes to const correctness, you’ll see plenty of this.

    A very welcome change was that the template support in VS2005 is noticeably better than it is in VS2003 (itself a big improvement on earlier versions), which enabled me to throw out several workarounds for template related issues that the team had been dragging around since the heady days of VC++ 4.x.

    One issue that you are likely to encounter are tons of warnings about ‘deprecated’ or ‘insecure’ functions, especially if you are using the C string functions. A lot of these are ‘deprecated by Microsoft’ (only that they left out the ‘by Microsoft’ part) and are still perfectly usable, but are known potential sources for buffer overflows. In the projects I converted, I set the preprocessor define _CRT_SECURE_NO_WARNINGS and disabled the warning C4996 to turn off these somewhat annoying messages.

    Another issue that we came across is that MS has changed the default size of time_t either in VS2005 or in VS2008 (I apologise but I can’t remember – it’s definitely in VS2008 but it may already be in VS2005) so if you have to link with legacy libraries that use time_t in the interface, you’ll have to use _USE_32BIT_TIME_T to revert to the older compiler’s behaviour.

    If your solution contains several projects, you may find that the parallel build feature (which is turned on by default) will highlight missing build dependencies. so projects are suddenly built in the wrong order but magically build correctly if you revert from parallel build back to linear build.

    Overall I do prefer VS2005/8 to VS2003, and I would recommend to upgrade to VS2008 if that is an option, as the compiler is ‘better’ than VS2005 – MS seems to have made a massive effort in improving the native C++ compiler. Part of that was already noticeable in 2005 so you’ll get at least some of the benefit even if you stick to 2005.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm considering moving from Apache to Lighttpd for an internal web application, written with
Our company is considering moving from hosting our own servers to EC2 and I
we (a team of about 150) are considering moving our ALM solution from Bugzilla/CVS
I am considering moving from Matlab to Python/numpy for data analysis and numerical simulations.
We are considering moving from ClearCase to Subversion. The project has been there for
We are considering moving a planning and budgeting app to the Salesforce platform. The
We are considering moving from Delphi 7 to Delphi 2009 and would like to
We are currently considering moving from logging to files, to logging to a NoSQL
I'm considering moving my code (around 30K LOC) from CPython to Jython, so that
We've been using Subversion and are considering moving to git. So I am very

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.