SVN compile error

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
lumen
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Sat Mar 24, 2007 10:15 pm

SVN compile error

Post by lumen »

In vegastrike\src\networking, there are a bunch of .cpp files containing some debugging COUT statements like this:

Code: Select all

COUT << "xxxxxxxxx serial n?<<xxx<<"xxxxx......
which caused a whole bunch of compile errors. After replacing the ? to ", like this:

Code: Select all

COUT << "xxxxxxxxx serial n"<<xxx<<"xxxxx......
I was able to build and run successfully (albeit with lots of warnings) on vc7.

Let me know if it's okay for me to commit the changes back to SVN.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

Welcome lumen glad you where able to get executables committing your change is probably not a good idea might confuse someone :wink: and of course network code is not needed to just play.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

I was worried about the superscript 0 symbol... but it never had caused any problems for years so it stayed in the code. (Also wierd because I know that my copy of VC7.1 has always been fine with that).

I guess your compiler decided to treat the C files as UTF-8 or something like that and it went crazy.

I'll fix this in Subversion soon.
lumen
Just a tourist with a frag'd nav console
Just a tourist with a frag'd nav console
Posts: 3
Joined: Sat Mar 24, 2007 10:15 pm

Post by lumen »

Okay, no problem. :)

Great stuff!
Post Reply