View Single Post
  #2  
Old 12-19-2004, 10:30 AM
zaendol
Fire Beetle
 
Join Date: Nov 2004
Posts: 1
Default

Heya,

I've seen this question in several places, but I haven't seen an answer yet, so I will give you a place to start. /Ob2 is a compiler option having to do with inline function optimization or some such, that is I believe not available in the standard edition of VC++ 6.0. But I think it is available in higher versions, and .NET.

I seemed to be able to compile while just ignoring this warning, and additionally, if you go to

'Project'
'Settings'

then select..
Settings For: Win32 Release

highlight the project you are compiling, i.e. 'World' or 'Zone' or whatever...

click the tab 'C/C++'

In the Project Options at the bottom of the dialog, you will see /Ob2 in the list. I deleted this option, and it compiles without warnings or errors. I would assume that is a valid fix for the warning, but I am just a hacker and not a real decent programmer.

The MSDN information on this option is located at...

http://msdn.microsoft.com/library/de...ore_.2f.ob.asp

Anyway, take it with a grain of salt... seems to work for me.
Reply With Quote