After looking at the last build at:
http://terrastorage.ath.cx/oolite/status.html
if i look at the last build page r5555 was the last good build on the build machine but if i try it i have 2 warnings
I am running Linux slackware 13.37 with kernel 3.2.29
libs & versions
part of slackware :
GNU Objective-C compiler (gcc-objc) version 4.5.2
SDL development libraries 1.2.14
SDL_mixer
SDL_image
not part of the slackware distribution :
gnustep-make 2.4.0
gnustep-base 1.20.1
gnustep-gui 0.18.0
gnustep-back 0.18.0
portaudio pa_stable_v19_20071207
espeak 1.42
nspr 4.8.7
the warnings
Compiling file src/Core/Entities/ShipEntity.m ...
src/Core/Entities/ShipEntity.m: In function '-[ShipEntity firePlasmaShotAtOffset:speed:color:direction:]':
src/Core/Entities/ShipEntity.m:10394:17: warning: comparison between 'OOWeaponFacing' and 'enum <anonymous>'
and
Compiling file src/Core/Entities/OOFlasherEntity.m ...
src/Core/Entities/OOFlasherEntity.m: In function '-[OOFlasherEntity update:]':
src/Core/Entities/OOFlasherEntity.m:124:18: warning: operation on 'self->_activeColor' may be undefined
the strange thing is that except the slack native packages i used the extra packages for some time never had any problems with them and oolite.
I needed to upgrade my distribution because my old machine went up in smoke after a lighting strike
help
edit. to manny 5's in the subject line
compiling r5555 with warnings
Moderators: winston, another_commander, Getafix
compiling r5555 with warnings
Richard
The only reason I recognize typos is because I make so many of them myself ...
The only reason I recognize typos is because I make so many of them myself ...
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Re: compiling r5555 with warnings
The nightly builds are produced using GCC 4.2.4 on Linux. You are using version 4.5.2, which apparently catches some things better.
There are even more warnings reported if you build with GCC 4.7.x (mostly about variables being set but not used). We will look at all of them at some point but for now most of these warnings are pretty harmless. Possible exception is the one about the undefined operation on self->_activeColor.
There are even more warnings reported if you build with GCC 4.7.x (mostly about variables being set but not used). We will look at all of them at some point but for now most of these warnings are pretty harmless. Possible exception is the one about the undefined operation on self->_activeColor.
Re: compiling r5555 with warnings
thanks for the explanation another_commanderanother_commander wrote:The nightly builds are produced using GCC 4.2.4 on Linux. You are using version 4.5.2, which apparently catches some things better.
There are even more warnings reported if you build with GCC 4.7.x (mostly about variables being set but not used). We will look at all of them at some point but for now most of these warnings are pretty harmless. Possible exception is the one about the undefined operation on self->_activeColor.
Richard
The only reason I recognize typos is because I make so many of them myself ...
The only reason I recognize typos is because I make so many of them myself ...
Re: compiling r5555 with warnings
devs
in r5564 all warnings are gone
thanks for fixing even if it are warnings
in r5564 all warnings are gone
thanks for fixing even if it are warnings
Richard
The only reason I recognize typos is because I make so many of them myself ...
The only reason I recognize typos is because I make so many of them myself ...