Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-18-2004, 06:39 PM
FiCtIoN
Sarnak
 
Join Date: Mar 2004
Posts: 34
Default Warning while trying to compile

Im using the latest cvs source and VS c++ 6.0 and get a warning while compiling the zone.exe and the world.exe The following is the warning.

Quote:
Compiling...
Command line warning D4002 : ignoring unknown option '/Ob2'
ive noticed that some unknown op codes im getting while running my server corespond with the warning im receiving. Any help is greatly appreciated
__________________
In a world without fences and walls, who needs Gates and Windows?
Reply With Quote
  #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
  #3  
Old 12-19-2004, 12:03 PM
FiCtIoN
Sarnak
 
Join Date: Mar 2004
Posts: 34
Default

Thanks alot for the feedback the fix you mentioned seems to have fixxed all my issues so far, so ide say that is a pretty valid fix.
__________________
In a world without fences and walls, who needs Gates and Windows?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 06:17 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3