Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Development

Archive::Development Archive area for Development's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #28  
Old 02-05-2004, 07:24 AM
Tertiary
Hill Giant
 
Join Date: Nov 2003
Posts: 192
Default

Quote:
Originally Posted by monrezz
What exactly does rebuild all do, compared to just compiling?
If you just select compile, it will only re-compile source files that have changed since you last compiled everything ... normally this is what you want, since it makes recompiling quicker, i.e. if you only change one source file, only that one will be recompiled.

The problem Dev-C++ has is that common/database.cpp has an #ifdef ZONE statement which compiles extra code if you are building zone.exe.

Unfortunately Dev-C++ is not smart enough to know that it should recompile this file when you compile zone.exe ... as far as it is concerned there have been no changes to database.cpp since it last compiled it (when you built world.exe), hence you need to do a 'rebuild all' to force it to recompile database.cpp.

Hope that makes sense.

Quote:
Is there a quick way of putting it all back in, or will I just have to wait until a dev decides your code should be merged with CVS?
There is a util called diff which could be used to create context diffs between the official source and the source patched to compile under Dev-C++. Then you could just apply this 'diff' using the 'patch' command when you download the latest source from CVS.

patch and diff come with MSYS (www.mingw.org) ... I just haven't been motivated enough to produce a diff, so for now, adding the changes back by hand is what you need to do.
Reply With Quote
 


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 01:31 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3