how do you enable optimizations in VC++ 6

This is a discussion on how do you enable optimizations in VC++ 6 within the C++ Programming forums, part of the General Programming Boards category; When I go to the optimization setting in VC++ 6 it is all grayed out. how do I set the ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    162

    how do you enable optimizations in VC++ 6

    When I go to the optimization setting in VC++ 6 it is all grayed out. how do I set the optomizer settings? Thanks?

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    Project -> Settings -> C/C++ tab -> Category = "Optimization" -> "Optimization" = anything other than "disable (debug)"

    See that "disable"? That means you don't get optimization.

    Quzah.
    Hope is the first step on the road to disappointment.

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    162
    Under the Win32 Release setting mode under the optimizations catigory it says maximum speed, but it is grayed out along with the check boxes below it. Do you happen to know how to make that not grayed? Thank you

  4. #4
    Registered User
    Join Date
    Jun 2002
    Posts
    267
    Just press "reset". . .

    By default, when you compile for Win32 Release in VC++, optimizations are set for maximum speed

  5. #5
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    What edition of VC++ 6 do you have, Crossbow?
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  6. #6
    Registered User
    Join Date
    Jun 2002
    Posts
    267
    Originally posted by XSquared
    What edition of VC++ 6 do you have, Crossbow?
    Ooooooooooh yeaaaaaaaaaah........

  7. #7
    Registered User
    Join Date
    Jun 2002
    Posts
    267
    VC++ 6 Standard Edition doesn't support code optimization

  8. #8
    Registered User
    Join Date
    Nov 2001
    Posts
    162
    You're saying Standard version does no code optimizations at all? That's kinda cheap if so, for the price of it.

  9. #9
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    Usually if you kick it hard enough than it will work. Just like in Starwars when Han Solo kicked the Millenium Falcan. Those were old Microsoft parts that they were using.

  10. #10
    Registered User
    Join Date
    Jun 2002
    Posts
    267

  11. #11
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Originally posted by Crossbow
    You're saying Standard version does no code optimizations at all? That's kinda cheap if so, for the price of it.
    Not really......you gat quite a bit for your $100 (or whatever).......you get a functional dev tool with ATL & MFC....loads of tools.....a full set of libs & headers........the MSDN Library......

    Not bad when you compare it to say some graphics editors, web designers or office products....

    If you want the deployment & optimasation features then isnt a greater investement in a compiler worthwhile?

  12. #12
    Registered User
    Join Date
    Nov 2001
    Posts
    162
    Well, I guess for optimizations I can just port it to mingw and use the dev-C++ compiler. It isn't too hard to port it. I can still code in VC++, though.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. makefile exported by vc 6.0 doesn't work
    By wow in forum Windows Programming
    Replies: 7
    Last Post: 03-24-2006, 03:20 PM
  2. How to enable c++ highlight in vim?
    By MelaOS in forum Tech Board
    Replies: 1
    Last Post: 01-15-2004, 06:39 AM
  3. Can't compile this with VC 6.0
    By uriel2013 in forum C++ Programming
    Replies: 4
    Last Post: 05-31-2003, 07:43 PM
  4. Why VC?
    By Unregistered in forum Windows Programming
    Replies: 1
    Last Post: 04-15-2002, 05:24 AM
  5. Optimizations disabled?
    By gliptic in forum C++ Programming
    Replies: 7
    Last Post: 09-14-2001, 01:12 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21