Page 1 of 2

-_-

Posted: 29 Dec 2011, 06:36
by Chojun
errors.PNG
errors.PNG (3.55 KiB) Viewed 5036 times
:stressed: :augh: :annoyed: :...:

Re: -_-

Posted: 29 Dec 2011, 07:17
by Chojun
errors.PNG
errors.PNG (3.53 KiB) Viewed 5033 times
:stressed: :annoyed:

Re: -_-

Posted: 29 Dec 2011, 18:40
by MaNGusT
compile something? :-)

Re: -_-

Posted: 29 Dec 2011, 19:05
by Chojun
Mhm.
errors.PNG
errors.PNG (3.48 KiB) Viewed 5002 times
:stressed: :stressed: :stare:

Re: -_-

Posted: 31 Dec 2011, 13:02
by Jorzi
I see you are making progress :P

Re: -_-

Posted: 31 Dec 2011, 16:41
by IgorBrehm
Evil Jorzi evil Jorzi bloody Jorzi bloody Jorzi :laugh2:

Re: -_-

Posted: 31 Dec 2011, 17:32
by Chojun
errors.PNG
errors.PNG (3.56 KiB) Viewed 4953 times
:stressed: :lol2: :augh: :!!!:

Re: -_-

Posted: 31 Dec 2011, 21:49
by Jorzi
Ouch... just out of curiosity, what are you compiling?

Re: -_-

Posted: 02 Jan 2012, 05:53
by bendib
Me thinks probably warzone.

Re: -_-

Posted: 02 Jan 2012, 09:44
by Chojun
errors.PNG
errors.PNG (3.41 KiB) Viewed 4897 times
:ninja: :...:

:evil:
success!.PNG
:twisted: :...:

Re: -_-

Posted: 03 Jan 2012, 21:43
by Chojun
Okay, enough of the smileys XD

I was curious to know what kind of effort would be required to convert the 1.10 C code to compile in C++ without using permissive compiler settings. The results are illustrated above.

Except for the ~30,000 error one - I was just messing with you guys there. I simply commented out one of the widely-used type defines :lol2:

The conversion did uncover a large number of problems with the original source (all at varying levels of heinous-ness), especially in the Net code. :annoyed:

Re: -_-

Posted: 04 Jan 2012, 03:24
by lav_coyote25
so what your saying is that converting to C++ is a no go???

Re: -_-

Posted: 04 Jan 2012, 05:19
by Goth Zagog-Thou
I thought that we were using Objective-C ? :ninja:

Re: -_-

Posted: 04 Jan 2012, 08:42
by Chojun
lav_coyote25 wrote:so what your saying is that converting to C++ is a no go???
No, sorry, I didn't mean to mislead anyone. I didn't emphasize enough that what I did was on the original 1.10 source - merely work done out of curiosity. It is absolutely possible to convert to C++.

I was ultimately successful to get the project to compile as C++, but I had to fix about 1,800 errors.

The good news is that the 2.3.9 source is compiling as C++ as far as I can tell, but like I've said before, I'm not familiar at all with the source for this project.
Goth Zagog-Thou wrote:I thought that we were using Objective-C ? :ninja:
I lol'd and threw up a little in my mouth :D I don't know a whole lot about Objective-C but I know enough to dislike it. I highly doubt this project has any Objective-C code, unless some of it is required for the game to run on macs.

Re: -_-

Posted: 04 Jan 2012, 11:59
by Cyp
Getting it to compile as C++ is definitely possible, considering that master uses C++.