Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: ##UnknownPlayer## on July 26, 2002, 09:59:33 am

Title: Source code breakage
Post by: ##UnknownPlayer## on July 26, 2002, 09:59:33 am
The current CVS copy of the source code appears to be broken. I just got me a fresh copy and it won't compile due to errors with psnet2.cpp and .h - anyone care to comment? They're syntax errors, but I'd like to know what changed to suddenly break them.

[EDIT] Nevermind I just fixed it I think. I'll upload my changes the change to the CVS
Title: Source code breakage
Post by: Inquisitor on July 26, 2002, 10:13:05 am
http://www.hard-light.net/forums/index.php/topic,8655.0.html

Guys, can we start emailing the dev list when we committ stuff?

We are still working on automating that ;)

Also, when you have breakage, don;t forget to look at the CVS log for that file ;)
Title: Source code breakage
Post by: penguin on July 26, 2002, 11:04:20 am
The breakage was mine :(

Also, some strangeness was happenning in the colideshipship.cpp module -- apparently rearranging the system include files added a new include file :confused:

Anyhow, to make a long story short, one of the windows files has a #define small char which caused one of the routines (which had 'big' and 'small' as params) to break.

I renamed the params to 'big_obj' and 'small_obj' and it's OK now.

It builds fine under Win32 (MSVC 6) and Linux (gcc 2.95.3)  I will commit in about 10 minutes...

I will mail the dev ML too :)
Title: Source code breakage
Post by: penguin on July 26, 2002, 11:38:40 am
Changes committed.  All those who had problems, please do a cvs update and attempt to rebuild.

Sorry about that... in the future, I'll make sure my changes don't break Windows, since I know a couple of you run it ;)

:doh:
Title: Source code breakage
Post by: RandomTiger on July 26, 2002, 11:58:33 am
Whats happening with windows debug in fs2_open?
Title: Source code breakage
Post by: penguin on July 26, 2002, 12:42:55 pm
Quote
Originally posted by RandomTiger
Whats happening with windows debug in fs2_open?
Would you elaborate, please?
Title: Source code breakage
Post by: RandomTiger on July 26, 2002, 12:49:55 pm
Um... theres still a problem:

code\globalincs\PSTypes.h(235) : fatal error C1083: Cannot open include file: 'config.h': No such file or directory

I'll try again.
Title: Source code breakage
Post by: RandomTiger on July 26, 2002, 08:30:55 pm
OK, the makefile one works but the other one doesnt.