Results 1 to 19 of 19

Thread: MSVC7 Non-Compliance Issues

  1. #1
    Zaei
    Guest

    MSVC7 Non-Compliance Issues

    Just noticed this over on gamedev.net. I thought some of you guys might find it interesting (kedaman =).

    Taken from dotnet.languages.vc in a post by Ronald Laeremans [MSFT]
    Remaining non-compliance issues with VS7 (VS.NET)
    - 2.2 Unicode Identifiers
    - 3.4.2 Full Koenig Lookup
    - 8.5.1 Empty Aggregate Initialization
    - 9.8 Symbol Lookup for Local Member Functions
    - 11.4 Friends in Class Templates (also 14.5.3)
    - 13.3.1.1.2 Implicit Invocation of ptr-to-func Conversions
    - 13.3.3.2 Ranking of Derived to Base conversions
    - 14 Export Keyword
    - 14.1 Reference Non-Type template parameters (also 14.3.2)
    - 14.5.2 User-Defined Conversion Templates
    - 14.5.4 Partial Specialization of Class Templates
    - 14.5.5.2 Partial Ordering of Function Templates
    - 14.6 Dependent Names
    - 14.7.1 Nested Classes in Class Templates
    - 14.7.3 Explicit Specialization of Member Templates
    - 15.4 Exception Specifications
    - 15.5.2 The unexpected() function
    Z.

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Re: MSVC7 Non-Compliance Issues

    - 14.5.4 Partial Specialization of Class Templates
    - 11.4 Friends in Class Templates (also 14.5.3)
    - 14.5.2 User-Defined Conversion Templates
    - 14.7.1 Nested Classes in Class Templates
    VERY Post link?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  3. #3
    Zaei
    Guest
    I just got it from a quote in a post on the GD.net forums. You could probably browse around on dotnet.languages.vc (looks like usenet to me).

    Z.

  4. #4
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Nope, I searched for some keywords but didn't find that post, however i found another post with link to
    http://support.microsoft.com/default...;EN-US;q243451

    and also a cool solution to a problem that's been annoying me for quite a while now. That i needed to pass pass a variable for the compiler to understand what template parameters i'm using
    PHP Code:
    #include<iostream>
    //#define WORKAROUND
    #ifdef WORKAROUND
    template <class T>
    void f(T dummy 0)
         {
         
    std::cout <<typeid(T).name() <<std::endl;
         }
    #else
    template <class T>
    void f(void)
         {
         
    std::cout <<typeid(T).name() <<std::endl;
         }
    #endif

    int main(void)
         {
         
    f<bool>();
         
    f<char>();
         
    f<int>();
         return 
    0;
         } 
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  5. #5
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221

    Q241940 BUG: C2954 on using class template as template parameter

    did they fix this in other words?
    http://support.microsoft.com/default...;en-us;Q241940

    What about nested classes in template classes and partial specialisation?!?!?!
    ARGH i'm dying to know what they've done
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  6. #6
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    As I said: make your own compiler!
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  7. #7
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    Hehe, for now i'm using MSVC6, i wish i had the new compiler (that comes with beta 2 of .NET)

    (btw anyone able to set up an ftp for me so that i can get it?)

    Rather than writing my own compiler, i'd write my own language, I'm beginning to think the templates in C++ are really awkward to do what i'm trying to do now
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I'm getting myself a copy of GCC 3 - it looks like it'll whomp everything else
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  9. #9
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I'm not on MSN because they've taken it off the PCs here

    It's about 30mb or so (including the Cygwin environment that it needs).

    gcc.gnu.org
    www.cygwin.com
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  10. #10
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    I downloaded GCC 3.0.2 now Just wonder if i should compile the whole thing and how?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  11. #11
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Do you have CygWin installed?
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  12. #12
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    nup, my GCC3.02 dir contains 62.7M of tar.gz and tar.bz2 files :S
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  13. #13
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Yeeks. You only needed *one* of those

    Either way, download and install cygwin, then you can install and compile gcc.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  14. #14
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    *downloading Cygwin*
    which one is that?
    12/13/2001 04:55 PM 509,381 gcc-3.0.1-3.0.2.diff.bz2
    12/13/2001 04:56 PM 612,445 gcc-3.0.1-3.0.2.diff.gz
    12/13/2001 04:57 PM 14,030,893 gcc-3.0.2.tar.bz2
    12/13/2001 04:59 PM 18,226,089 gcc-3.0.2.tar.gz
    12/13/2001 05:00 PM 7,821,977 gcc-core-3.0.2.tar.bz2
    12/13/2001 05:01 PM 10,251,955 gcc-core-3.0.2.tar.gz
    12/13/2001 05:01 PM 1,709,533 gcc-g++-3.0.2.tar.bz2
    12/13/2001 05:01 PM 2,281,724 gcc-g++-3.0.2.tar.gz
    12/13/2001 05:02 PM 1,121,901 gcc-g77-3.0.2.tar.bz2
    12/13/2001 05:02 PM 1,472,065 gcc-g77-3.0.2.tar.gz
    12/13/2001 05:02 PM 2,410,013 gcc-java-3.0.2.tar.bz2
    12/13/2001 05:03 PM 3,052,932 gcc-java-3.0.2.tar.gz
    12/13/2001 05:03 PM 183,310 gcc-objc-3.0.2.tar.bz2
    12/13/2001 05:03 PM 226,458 gcc-objc-3.0.2.tar.gz
    12/13/2001 05:03 PM 756,092 gcc-testsuite-3.0.2.tar.bz2
    12/13/2001 05:03 PM 943,686 gcc-testsuite-3.0.2.tar.gz
    12/13/2001 05:03 PM 904 md5.sum
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  15. #15
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    12/13/2001 04:55 PM 509,381 gcc-3.0.1-3.0.2.diff.bz2
    12/13/2001 04:56 PM 612,445 gcc-3.0.1-3.0.2.diff.gz
    12/13/2001 04:57 PM 14,030,893 gcc-3.0.2.tar.bz2
    12/13/2001 04:59 PM 18,226,089 gcc-3.0.2.tar.gz
    12/13/2001 05:00 PM 7,821,977 gcc-core-3.0.2.tar.bz2
    12/13/2001 05:01 PM 10,251,955 gcc-core-3.0.2.tar.gz
    12/13/2001 05:01 PM 1,709,533 gcc-g++-3.0.2.tar.bz2
    12/13/2001 05:01 PM 2,281,724 gcc-g++-3.0.2.tar.gz
    12/13/2001 05:02 PM 1,121,901 gcc-g77-3.0.2.tar.bz2
    12/13/2001 05:02 PM 1,472,065 gcc-g77-3.0.2.tar.gz
    12/13/2001 05:02 PM 2,410,013 gcc-java-3.0.2.tar.bz2
    12/13/2001 05:03 PM 3,052,932 gcc-java-3.0.2.tar.gz
    12/13/2001 05:03 PM 183,310 gcc-objc-3.0.2.tar.bz2
    12/13/2001 05:03 PM 226,458 gcc-objc-3.0.2.tar.gz
    12/13/2001 05:03 PM 756,092 gcc-testsuite-3.0.2.tar.bz2
    12/13/2001 05:03 PM 943,686 gcc-testsuite-3.0.2.tar.gz
    12/13/2001 05:03 PM 904 md5.sum
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  16. #16
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    How do i go unxip it? winrar does gz but what about bz2?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  17. #17
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Do a search for bzip2 and get the windows binaries.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  18. #18
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    I have a feeling i'm downloading loads of unnessesary stuff again, how big was Cygwin again?
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  19. #19
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    i've downloaded 53.6 MB and it's still halfway *cancels the download* hmm
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width