VC7 and INF Builds

#1
Alright this is the first post in a while, but I have been having some issues over using MSVC 7 and the INF_BUILD Preprocessor Definition. They build with out any issues. However, when I compare the total byte size they are often the exact same size. I know we are moving over to dynamic memory allocation, but that is not for a few weeks. The same wierdness is in the FRED INF Builds as well.

#2
In VC6, i create a new configuration by coping "Win32 Release" over to "Win32 Inferno" and "Win32 Debug" to "Win32 Inferno Debug". You also need to point the output directories to the correct place, but this ensures that the separate builds interfere with each other. The only think you need to make sure of is that you don't update the project files unless absolutely necessary since you'll lose the changes.
Safety not Guaranteed

#3
Thank you, but I do a fresh rebuild of all files when making Inferno Builds.

That is an interesting idea though. Making seperate configurations.

However this should Illustrate the issue:
11/01/2005 05:12 AM 4,628,480 FRED2_open_d-20051101.exe
11/01/2005 05:11 AM 4,042,752 FRED2_open_r-20051101.exe
11/03/2005 12:08 AM 4,632,576 FRED2_open_d-Inf20051101.exe
11/03/2005 12:07 AM 4,042,752 FRED2_open_r-Inf20051101.exe
11/02/2005 11:55 PM 4,067,328 FRED2_open_r-P420051101.exe
11/02/2005 11:56 PM 4,640,768 FRED2_open_d-P420051101.exe
11/01/2005 04:29 AM 6,627,328 fs2_open_d-20051101.exe
11/02/2005 10:50 PM 6,623,232 fs2_open_d-Inf20051101.exe
11/02/2005 11:36 PM 6,660,096 fs2_open_d-P420051101.exe
11/01/2005 04:29 AM 3,170,304 fs2_open_r-20051101.exe
11/02/2005 11:36 PM 3,215,360 fs2_open_r-P420051101.exe
11/02/2005 10:50 PM 3,170,304 fs2_open_r-Inf20051101.exe

The release builds have the same bit totals. But the debug builds are different.

#5
well, I will look into this again when I have more time.

The Multiple configurations is a spectacular idea for what I do. in other words, I could just batch build all those builds at one time and have my machine do everything with out having to change configurations :evil:

But I am still very perplexed as to INF_BUILD isn't being recognized in what seems to be only the release only. In game it say it is an Inferno build.

#6
After some thought, it is quite possible that there wouldn't be any difference because all INF_BUILD does is bump the limits a up. There is no code added of subtracted. But, this still doesn't explain the sillieness Woomeister ran into unless I goofed up which is entirely possible aparently. But I won't know for sure till HLP is back up and I can talk to Woomeister.

#7
try going to a random .cpp file and inserting this:

#ifdef INF_BUILD
#pragma message("INF_BUILD DEFINED")
#endif

This should then output that message to the build window and you can see if its defined.
Safety not Guaranteed
Locked

Who is online

Users browsing this forum: Bing [Bot] and 76 guests

cron