Thread: MSVC++ 6.0, does it conform to the standard?

  1. #1
    Registered User CompiledMonkey's Avatar
    Join Date
    Feb 2002
    Location
    Richmond, VA
    Posts
    438

    MSVC++ 6.0, does it conform to the standard?

    ?

    If not, does VS.NET?

  2. #2
    Registered User Cela's Avatar
    Join Date
    Jan 2003
    Posts
    362
    Visual Studio 6 doesn't conform to the current standard, but as far as I know Visual Studio .NET does :-)
    *Cela*

  3. #3
    Registered User foniks munkee's Avatar
    Join Date
    Nov 2001
    Posts
    343
    Visual Studio .NET does not conform to the standard either. It is significantly better, and Microsoft have acknowledged that this needs work, (the article is on the MS website, but I don't have a link...). They are talking about the next iteration of Visual Studio (due out this year I believe) being much closer to the standard.
    "Queen and huntress, chaste and fair,
    Now the sun is laid to sleep,
    Seated in thy silver chair,
    State in wonted manner keep."

  4. #4
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    There's virtually no compiler that conforms fully....

    A few things to test - "export" keyword (virtually nobody supports this).......template template arguments.....

    Pretty good for complience - gcc (and various ports) and the most recent Codewarrior

  5. #5
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    i just started using minigw this morning and while it is a lot more compliant than vc++'s compiler, it still chokes on some complicated templating.

  6. #6
    Registered User
    Join Date
    Sep 2002
    Posts
    272
    >They are talking about the next iteration of Visual Studio (due out this year I believe) being much closer to the standard.<

    Yes, straight from the horses mouth -

    In Everett we've achieved 98% conformance to the C++ ISO standard. No compiler reaches 100%, and it turns out that conformance is a difficult thing to measure since there is no singly accepted test suite. We used 3 - Perennial, Plumb Hall, and Dinkumware - and are passing each above the 98% line. But our favorite benchmark is that we're compiling the popular Boost, Blitz, and Loki libraries without the need for special workarounds.
    Everett being VC++.Net 2003.
    Joe

  7. #7
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Originally posted by JoeSixpack
    Boost, Blitz, and Loki libraries
    Any compiler that can compile those (well I know about the first and third) is going to be pretty close to the standard

  8. #8
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    Comeau computing make the most standard conforming compiler even implementing export for what its worth.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  9. #9
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    Yeah, I use the comaeu online test compiler all the time when I get an error in just to see if my compiler is being retarded (which it usually is).

  10. #10
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    what is that a compiler that exactly conforms to the standard or something so developers can test what they're doing?

    where can i find it

    No standard web pages containing all your search terms were found.

    Your search - comaeu online test compiler - did not match any documents.

  11. #11
    Registered User xds4lx's Avatar
    Join Date
    Nov 2001
    Posts
    630
    Originally posted by foniks munkee They are talking about the next iteration of Visual Studio (due out this year I believe) being much closer to the standard.
    If you have a MSDN subscription you can download a beta of Visual Studio .NET 2003, http://msdn.microsoft.com/visualc/pr...03/default.asp ,yep a new version that is going to be more compliant, so im guessing that means there wont be many updates for regular Visual Studio.net

    [Edit]
    Some advanced features of Visual C++ .NET 2003

    Utilize Enhanced Libraries to Incorporate Advanced Features
    Visual C++ .NET 2003 includes a variety of libraries encapsulating a plethora of data types and programming patterns, including a fully ISO-conforming STL implementation, industry-standard ATL and MFC, ATL Server, and the .NET Framework.

    Build Modern C++ Code and Library Sources with a Highly ISO C++–compliant Compiler
    Visual C++ .NET 2003 compiles modern C++ code that uses advanced template features, including Partial Template Specialization and Partial Ordering of Function templates. Make use of popular community-written libraries including Boost and Loki.

  12. #12
    Programming Sex-God Polymorphic OOP's Avatar
    Join Date
    Nov 2002
    Posts
    1,078
    Originally posted by Silvercord
    what is that a compiler that exactly conforms to the standard or something so developers can test what they're doing?

    where can i find it

    No standard web pages containing all your search terms were found.

    Your search - comaeu online test compiler - did not match any documents.

    comeau, i spelled it wrong .

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. include question
    By Wanted420 in forum C++ Programming
    Replies: 8
    Last Post: 10-17-2003, 03:49 AM
  2. Opinions on Visual C++ .NET Standard Edition
    By xds4lx in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 04-05-2002, 02:51 PM
  3. interrupt handler functions in Visual C++ 6.0
    By scromer in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 01-07-2002, 07:06 PM
  4. Visual C++ 6.0
    By unanimous in forum C++ Programming
    Replies: 3
    Last Post: 12-19-2001, 05:39 PM
  5. SDI Menu problem - Windows MSVC 6.0
    By Brown Drake in forum C++ Programming
    Replies: 0
    Last Post: 10-13-2001, 06:04 AM