Indeed - same hereGimi wrote:r5455 seems to have sorted it out.
Although it has generated a huge log file about openGL state rendering, presumably due to Ahruman's commit 5451 perhaps.
Moderators: winston, another_commander, Getafix
Indeed - same hereGimi wrote:r5455 seems to have sorted it out.
Code: Select all
Compiling file src/Core/Entities/OOFlasherEntity.m ...
src/Core/Entities/OOFlasherEntity.m:182: warning: incomplete implementation of class 'OOFlasherEntity'
src/Core/Entities/OOFlasherEntity.m:182: warning: method definition for '-drawSubEntityImmediate:translucent:' not found
src/Core/Entities/OOFlasherEntity.m:182: warning: class 'OOFlasherEntity' does not fully implement the 'OOSubEntity' protocol
Compiling file src/Core/Entities/OOExhaustPlumeEntity.m ...
Should be fixed in r5473.Gimi wrote:Get the following warning when building r5472.
Code: Select all
Compiling file src/Core/Entities/OOFlasherEntity.m ... src/Core/Entities/OOFlasherEntity.m:182: warning: incomplete implementation of class 'OOFlasherEntity' src/Core/Entities/OOFlasherEntity.m:182: warning: method definition for '-drawSubEntityImmediate:translucent:' not found src/Core/Entities/OOFlasherEntity.m:182: warning: class 'OOFlasherEntity' does not fully implement the 'OOSubEntity' protocol Compiling file src/Core/Entities/OOExhaustPlumeEntity.m ...
Thank you. No warnings when building r5473.another_commander wrote:Should be fixed in r5473.
Code: Select all
Compiling file src/Core/Entities/PlayerEntityContracts.m ...
src/Core/Entities/PlayerEntityContracts.m: In function '-[PlayerEntity(Contracts) pickFromGuiContractsScreen]':
src/Core/Entities/PlayerEntityContracts.m:1165: warning: 'StationEntity' may not respond to '-localPassengers'
src/Core/Entities/PlayerEntityContracts.m:1165: warning: (Messages without a matching method signature
src/Core/Entities/PlayerEntityContracts.m:1165: warning: will be assumed to return 'id' and accept
src/Core/Entities/PlayerEntityContracts.m:1165: warning: '...' as arguments.)
src/Core/Entities/PlayerEntityContracts.m:1166: warning: 'StationEntity' may not respond to '-localContracts'
src/Core/Entities/PlayerEntityContracts.m: In function '-[PlayerEntity(Contracts) highlightSystemFromGuiContractsScreen]':
src/Core/Entities/PlayerEntityContracts.m:1251: warning: 'StationEntity' may not respond to '-localPassengers'
src/Core/Entities/PlayerEntityContracts.m:1252: warning: 'StationEntity' may not respond to '-localContracts'
Compiling file src/Core/Entities/PlayerEntityControls.m ...
src/Core/Entities/PlayerEntityControls.m:109: warning: 'queryPressed' defined but not used
src/Core/Entities/PlayerEntityControls.m:113: warning: 'switching_market_screens' defined but not used
src/Core/Entities/PlayerEntityControls.m:122: warning: 'oldSelection' defined but not used
Compiling file src/Core/Scripting/OOJSVisualEffect.m ...
src/Core/Scripting/OOJSVisualEffect.m: In function 'VisualEffectGetProperty':
src/Core/Scripting/OOJSVisualEffect.m:275: warning: 'OOVisualEffectEntity' may not respond to '-subEntitiesForScript'
src/Core/Scripting/OOJSVisualEffect.m:275: warning: (Messages without a matching method signature
src/Core/Scripting/OOJSVisualEffect.m:275: warning: will be assumed to return 'id' and accept
src/Core/Scripting/OOJSVisualEffect.m:275: warning: '...' as arguments.)
src/Core/Scripting/OOJSVisualEffect.m: In function 'VisualEffectRestoreSubEntities':
src/Core/Scripting/OOJSVisualEffect.m:712: warning: 'OOVisualEffectEntity' may not respond to '-subEntitiesForScript'
src/Core/Scripting/OOJSVisualEffect.m:717: warning: 'OOVisualEffectEntity' may not respond to '-subEntitiesForScript'
src/Core/Scripting/OOJSVisualEffect.m:717: warning: 'OOVisualEffectEntity' may not respond to '-subEntitiesForScript'
Compiling file src/Core/Universe.m ...
src/Core/Universe.m:7697: warning: 'estimatedTimeForJourney' defined but not used
Code: Select all
make -f GNUmakefile SNAPSHOT_BUILD=yes VERSION_STRING=1.77.0.5488 debug=no
make[1]: Entering directory `/c/Oolite/trunk'
Making all for objc_program oolite...
Compiling file src/Core/Entities/PlayerEntity.m ...
Compiling file src/Core/Entities/PlayerEntityContracts.m ...
Compiling file src/Core/Entities/PlayerEntityControls.m ...
src/Core/Entities/PlayerEntityControls.m:109: warning: 'queryPressed' defined but not used
src/Core/Entities/PlayerEntityControls.m:113: warning: 'switching_market_screens' defined but not used
src/Core/Entities/PlayerEntityControls.m:122: warning: 'oldSelection' defined but not used
Compiling file src/Core/Entities/PlayerEntityLoadSave.m ...
Compiling file src/Core/Scripting/OOJSManifest.m ...
Compiling file src/Core/Scripting/OOJSPlayer.m ...
Compiling file src/Core/Scripting/OOJSPlayerShip.m ...
Compiling file src/Core/Universe.m ...
src/Core/Universe.m:7697: warning: 'estimatedTimeForJourney' defined but not used
Linking objc_program oolite ...
/OOgstep/System/Library/Makefiles/mkinstalldirs oolite.app
/OOgstep/System/Library/Makefiles/mkinstalldirs oolite.app/Resources
Code: Select all
Compiling file src/Core/Universe.m ...
src/Core/Universe.m:7696:1: warning: "/*" within comment
src/Core/Universe.m: In function '-[Universe passengersForLocalSystemAtTime:]':
src/Core/Universe.m:7802: warning: implicit declaration of function 'estimatedTimeForJourney'
src/Core/Universe.m: At top level:
src/Core/Universe.m:7852: error: expected identifier or '(' before '/' token
src/Core/Universe.m:10690: warning: incomplete implementation of class 'Universe'
src/Core/Universe.m:10690: warning: method definition for '-timeDescription:' not found
make[4]: *** [obj.win.spk/oolite.obj/Universe.m.o] Error 1
make[3]: *** [internal-objc_program-all_] Error 2
make[2]: *** [oolite.all.objc-program.variables] Error 2
make[1]: *** [internal-all] Error 2
make[1]: Leaving directory `/c/Oolite/trunk'
make: *** [release-snapshot] Error 2
Code: Select all
Compiling file src/Core/Debug/OOJSConsole.m ...
src/Core/Debug/OOJSConsole.m: In function 'ConsoleIsExecutableJavaScript':
src/Core/Debug/OOJSConsole.m:819:11: warning: variable 'result' set but not used
[-Wunused-but-set-variable]
Compiling file src/Core/Entities/DockEntity.m ...
Code: Select all
Compiling file src/Core/Scripting/OOJSShip.m ...
src/Core/Scripting/OOJSShip.m: In function 'ShipDealEnergyDamage':
src/Core/Scripting/OOJSShip.m:1661:7: warning: variable 'gotVBias' set but not u
sed [-Wunused-but-set-variable]
src/Core/Scripting/OOJSShip.m:1660:7: warning: variable 'gotRange' set but not u
sed [-Wunused-but-set-variable]
src/Core/Scripting/OOJSShip.m:1659:7: warning: variable 'gotDamage' set but not
used [-Wunused-but-set-variable]
Compiling file src/Core/Scripting/OOJSShipGroup.m ...
Code: Select all
Compiling file src/Core/Debug/OOJSConsole.m ...
src/Core/Debug/OOJSConsole.m: In function 'ConsoleIsExecutableJavaScript':
src/Core/Debug/OOJSConsole.m:819:11: warning: variable 'result' set but not used
OOJS_RETURN_BOOL(result);
, but it might just be that the result variable is superfluous. I don't know enough about the console to say for sure.Code: Select all
Compiling file src/Core/Scripting/OOJSShip.m ...
Thanks are going in the wrong direction here.cim wrote:Fixed in r5572. Thanks.
Code: Select all
Compiling file src/Core/Scripting/OOJSQuaternion.m ...
src/Core/Scripting/OOJSQuaternion.m: In function 'QuaternionStaticRandom':
src/Core/Scripting/OOJSQuaternion.m:864:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSQuaternion.m: In function 'QuaternionRotateZ':
src/Core/Scripting/OOJSQuaternion.m:728:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSQuaternion.m: In function 'QuaternionRotateY':
src/Core/Scripting/OOJSQuaternion.m:709:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSQuaternion.m: In function 'QuaternionRotateX':
src/Core/Scripting/OOJSQuaternion.m:690:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSQuaternion.m: In function 'QuaternionRotate':
src/Core/Scripting/OOJSQuaternion.m:671:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSQuaternion.m: In function 'QuaternionConjugate':
src/Core/Scripting/OOJSQuaternion.m:762:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSQuaternion.m: In function 'QuaternionNormalize':
src/Core/Scripting/OOJSQuaternion.m:745:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSQuaternion.m: In function 'QuaternionMultiply':
src/Core/Scripting/OOJSQuaternion.m:624:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
Code: Select all
Compiling file src/Core/Scripting/OOJSVector.m ...
src/Core/Scripting/OOJSVector.m: In function 'VectorStaticRandomDirection':
src/Core/Scripting/OOJSVector.m:1062:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSVector.m: In function 'VectorStaticRandomDirectionAndLength':
src/Core/Scripting/OOJSVector.m:1077:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSVector.m: In function 'VectorMultiply':
src/Core/Scripting/OOJSVector.m:711:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSVector.m: In function 'VectorFromCoordinateSystem':
src/Core/Scripting/OOJSVector.m:991:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSVector.m: In function 'VectorDirection':
src/Core/Scripting/OOJSVector.m:813:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSVector.m: In function 'VectorStaticRandom':
src/Core/Scripting/OOJSVector.m:1047:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSVector.m: In function 'VectorToCoordinateSystem':
src/Core/Scripting/OOJSVector.m:962:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSVector.m: In function 'VectorRotateBy':
src/Core/Scripting/OOJSVector.m:901:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSVector.m: In function 'VectorSubtract':
src/Core/Scripting/OOJSVector.m:654:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSVector.m: In function 'VectorAdd':
src/Core/Scripting/OOJSVector.m:636:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSVector.m: In function 'VectorStaticInterpolate':
src/Core/Scripting/OOJSVector.m:1026:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
src/Core/Scripting/OOJSVector.m: In function 'VectorCross':
src/Core/Scripting/OOJSVector.m:772:2: warning: 'jsresult' may be used uninitialized in this function [-Wmaybe-uninitialized]
Code: Select all
Compiling file src/SDL/OOSDLJoystickManager.m ...
src/SDL/OOSDLJoystickManager.m: In function '-[OOSDLJoystickManager init]':
src/SDL/OOSDLJoystickManager.m:55:9: warning: array subscript is above array bounds [-Warray-bounds]
I would recommend a clean re-build of everything.Nightly build Diagnostics wrote:Build process diagnostics for r5675
The build process diagnostics log is empty.
It was a clean re-build (which is why I saw it), plus I thought it might need a little bump. Looked at it myself and can't work out the joystick one. The others I have an idea (initialising jsresult to JSVAL_VOID) but leaving it for an official patch since ObjC isn't my field. Can parse it but don't program in it.another_commander wrote:Tricky: It builds warningless here, both for test and deployment configurations. Also, the nightly build log states:I would recommend a clean re-build of everything.Nightly build Diagnostics wrote:Build process diagnostics for r5675
The build process diagnostics log is empty.
The thing is, you should not have to do anything. The current code base compiles as-is on Windows (actually, on all three supported platforms) with 0 warnings and 0 errors. Something is probably wrong with your compiler setup, or you are possibly using a makefile setting/flag that may not be meant for the Windows build. If all else fails, maybe checking out the codebase afresh with svn could help.Tricky wrote:It was a clean re-build (which is why I saw it), plus I thought it might need a little bump. Looked at it myself and can't work out the joystick one. The others I have an idea (initialising jsresult to JSVAL_VOID) but leaving it for an official patch since ObjC isn't my field. Can parse it but don't program in it.
Ah!another_commander wrote:The thing is, you should not have to do anything. The current code base compiles as-is on Windows (actually, on all three supported platforms) with 0 warnings and 0 errors. Something is probably wrong with your compiler setup, or you are possibly using a makefile setting/flag that may not be meant for the Windows build. If all else fails, maybe checking out the codebase afresh with svn could help.Tricky wrote:It was a clean re-build (which is why I saw it), plus I thought it might need a little bump. Looked at it myself and can't work out the joystick one. The others I have an idea (initialising jsresult to JSVAL_VOID) but leaving it for an official patch since ObjC isn't my field. Can parse it but don't program in it.
Just to be sure, you are using the latest Dev Environment posted, the one with gcc 4.7.1, right?