home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


Cube Compilation Fixes

by EvilTypeGuy on 12/04/2002 00:01, 3 messages, last message: 12/04/2002 16:43, 974 views, last view: 03/31/2024 10:31

I am absolutely amazed by the code in cube really, and the fact that Aardappel had the guts to write it using the -ansi -pedantic compilation options :)

Due to LordHavoc's kind comments about Aardappel I have quite a bit of respect for Aardappel's work.

However, upon compilation with gcc3.2 (which recognizes / implements far more of the ISO C/C++ standards then gcc2.x) I noticed lots of warnings that marred an otherwise faultless compilation. Most people do not yet have gcc3.x based systems. I expect this to change in the future though as gcc3.2 finally delivers a true ISO C/C++ environment.

To whomever would like this albeit trivial patch. That is useful to those like me who enjoy being pedantic, you can get it here:

http://drevil.warpcore.org/cube_warning_fixes.patch

   Board Index   

#1: Re: Cube Compilation Fixes

by EvilTypeGuy on 12/04/2002 00:03

Er...just one other note. If anyone knows of a better way to "fix" some of these warnings. By all means please post what I've done wrong or could have done better :)

reply to this message

#2: um

by Aardappel on 12/04/2002 11:37

I developed using visual studio .net, which gives me no warnings on highest warning level... which I guess gives the same degree of warnings as -ansi -pedantic in gcc 2.x (which eihrul set).

I looked at the diffs but a lot are a bit dumb.. those () around assignments I assume are some warning about confusing assignment and equality, that is going to give a LOT of warnings on existing code.

reply to this message

#3: Re: um

by EvilTypeGuy on 12/04/2002 16:43

I admit it seems dumb. I never said it didn't. I just said it got rid of the compilation warnings :)

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53872079 visitors requested 71647282 pages
page created in 0.023 seconds using 10 queries
hosted by Boost Digital