#275 Upgrade Visual Studio projects

closed
Borut Ražem
None
5
2011-08-05
2009-05-04
Borut Ražem
No

Current sdcc Visual Studio project files are for Visual Studio version 6.0, which more then 10 years old (see http://en.wikipedia.org/wiki/Microsoft_Visual_Studio#Visual_Studio_6.0\). I propose to upgrade them to Visual Studio 2008 Express Edition.

Benefits of Visual Studio 2008 Express Edition vs. Visual Studio 6.0:
- it is free (like free beer)
- it is more standards compatible (long long data type, __FUNCTION__ macro, ...)
- no need to have both Visual Studio 6.0 (for sdcc) and Visual Studio 2008 Express Edition (for newer projects) installed
- ...

Probably my proposition has also many weaknesses...

Let me know what do you think!

Borut

Discussion

  • Maarten Brock
    Maarten Brock
    2009-05-04

    I sometimes use Visual C++ 6.0, sometimes 2008 Express and sometimes 2008 Pro. I have no problem with upgrading. I have proposed this already in the past (was it 2003 or 2005?) but one of the other developers opposed it.

    Maarten

     
  • Can you open and compile projects made for MSVC 6 in 2008 Express? I am sure it doesn't work the other way around. If we switch to 2008 express this year, should we switch to a newer version (2010) as soon as it is available?

     
  • Maarten Brock
    Maarten Brock
    2009-05-12

    Yes, one can open a MSVC6 project in VS2008. But if we stay with MSVC6 it is harder for developers to maintain the project, because they need to have access to MSVC6 or mess with the project files manually.

    And I vote not to upgrade to the next version asap, but only after discussion on the RFE tracker or developer list.

     
  • Borut Ražem
    Borut Ražem
    2009-05-12

    I knew that I'll let genie out the bottle with this proposition ;-)

    > Can you open and compile projects made for MSVC 6 in 2008 Express? I am
    > sure it doesn't work the other way around.

    Like Maarten already wrote: is possible but is a pain in the ass to maintain both versions.

    > If we switch to 2008 express this year, should we switch to a newer
    > version (2010) as soon as it is available?

    Yes, why not? I'm switching gcc versions and Linux distributions all the time. If the new version is for free, why not use it (of course not by just jumping in it)?

    My biggest concern about VS6 is that it is not for free. How can a new (young) developer on Windows platform join us? Will he buy (if it is still possible at all) VS6 just for sdcc development? I doubt...

    And an other point of view: we are also compiler developers. Would you be happy if nobody would use the the new version and everybody would stick with the (10 years) old one? I think that we all recommend users to use the latest sdcc version... OK, this one might be a little bit out of the topic, but I already wrote it ;-) And I feel pity for MS developers ;-))

    Borut

     
  • Borut Ražem
    Borut Ražem
    2011-08-05

    MSVC project files upgraded to Visual Studio 2010 2011-06-10 when the optralloc branch was merged to the man branch.

    Borut

     
  • Borut Ražem
    Borut Ražem
    2011-08-05

    • status: open --> closed