games/oolite
Trade and combat space simulator, clone of Elite
Flavor |
Version |
Run |
OSVersion |
Arch |
License |
Restricted |
Status |
|
|
1.65_3 |
318 |
0.7 |
i386 |
gpl2 |
0 |
fail |
|
Events
Machine |
Type |
Time |
Message |
defianti386 |
info |
2016-03-09 05:44:06.240174 |
Test Started |
defianti386 |
fail |
2016-03-09 05:53:55.495407 |
make build returned non-zero: 1 |
defianti386 |
fail |
2016-03-09 05:53:56.711664 |
Test complete. |
Log
[1m===> Building for oolite-1.65_3[0m
This is gnustep-make 2.6.7. Type 'gmake print-gnustep-make-help' for help.
/usr/local/GNUstep/System/Library/Makefiles/objc.make:30: objc.make is deprecated. Please use tool.make instead
gmake: Nothing to be done for 'GNUmakefile'.
/usr/local/GNUstep/System/Library/Makefiles/objc.make:30: objc.make is deprecated. Please use tool.make instead
Making all for objc_program oolite...
/usr/local/GNUstep/System/Library/Makefiles/objc.make:30: objc.make is deprecated. Please use tool.make instead
/usr/local/GNUstep/System/Library/Makefiles/objc.make:30: objc.make is deprecated. Please use tool.make instead
Compiling file src/Core/vector.c ...
Compiling file src/Core/legacy_random.c ...
Compiling file src/BSDCompat/strlcpy.c ...
Compiling file src/SDL/Comparison.m ...
Compiling file src/Core/AI.m ...
Compiling file src/Core/DustEntity.m ...
Compiling file src/Core/Entity.m ...
Compiling file src/Core/GameController.m ...
Compiling file src/Core/GuiDisplayGen.m ...
In file included from src/Core/GameController.m:39:
In file included from src/Core/GameController.h:39:
src/Core/OOCocoa.h:22:9: warning: 'IBOutlet' macro redefined
#define IBOutlet /**/
^
:21:9: note: previous definition is here
#define IBOutlet __attribute__((iboutlet))
^
In file included from src/Core/GameController.m:39:
In file included from src/Core/GameController.h:39:
src/Core/OOCocoa.h:23:9: warning: 'IBAction' macro redefined
#define IBAction void
^
In file included from src/Core/GuiDisplayGen.m::23:940: :
In file included from note: previous definition is here
src/Core/GuiDisplayGen.h:40:
src/Core/OOCocoa.h:22:9: warning: 'IBOutlet' macro redefined
#define IBAction void)__attribute__((ibaction)
^
In file included from src/Core/Entity.m:39:
In file included from src/Core/Entity.h:108:
src/Core/OOCocoa.h:22:9#define IBOutlet /**/: warning: 'IBOutlet' macro redefined
#define IBOutlet /**/
^
:21:9: note: previous definition is here
#define IBOutlet __attribute__((iboutlet))
^
In file included from src/Core/Entity.m:39:
In file included from src/Core/Entity.h:108:
src/Core/OOCocoa.h:23:9: warning: 'IBAction' macro redefined
#define IBAction void
^
:23:9: note: previous definition is here
#define IBAction void)__attribute__((ibaction)
^
^
:21:9: note: previous definition is here
#define IBOutlet __attribute__((iboutlet))
^
In file included from src/Core/GuiDisplayGen.m:40:
In file included from src/Core/GuiDisplayGen.h:40:
src/Core/OOCocoa.h:23:9: warning: 'IBAction' macro redefined
#define IBAction void
^
:23:9: note: previous definition is here
#define IBAction void)__attribute__((ibaction)
^
Compiling file src/Core/HeadUpDisplay.m ...
In file included from src/Core/vector.c:46:
src/Core/legacy_random.h:76:12: warning: inline function 'ranrot_rand' is not defined [-Wundefined-inline]
inline int ranrot_rand();
^
src/Core/vector.c:328:16: note: used here
quat->w = (ranrot_rand() & 1023) - 512.0; // -512 to +512;
^
1 warning generated.
Compiling file src/SDL/main.m ...
Compiling file src/SDL/MyOpenGLView.m ...
In file included from src/SDL/MyOpenGLView.m:38:
In file included from src/SDL/MyOpenGLView.h:38:
src/Core/OOCocoa.h:22:9: warning: 'IBOutlet' macro redefined
#define IBOutlet /**/
^
:21:9: note: previous definition is here
#define IBOutlet __attribute__((iboutlet))
^
In file included from src/SDL/MyOpenGLView.m:38:
In file included from src/SDL/MyOpenGLView.h:38:
src/Core/OOCocoa.h:23:9: warning: 'IBAction' macro redefined
#define IBAction void
^
:23:9: note: previous definition is here
#define IBAction void)__attribute__((ibaction)
^
In file included from src/SDL/main.m:5:
In file included from src/Core/GameController.h:39:
src/Core/OOCocoa.h:22:9: warning: 'IBOutlet' macro redefined
#define IBOutlet /**/
^
:21:9: note: previous definition is here
#define IBOutlet __attribute__((iboutlet))
^
In file included from src/SDL/main.m:5:
In file included from src/Core/GameController.h:39:
src/Core/OOCocoa.h:23:9: warning: 'IBAction' macro redefined
#define IBAction void
^
:23:9: note: previous definition is here
#define IBAction void)__attribute__((ibaction)
^
In file included from src/Core/DustEntity.m:40:
In file included from src/Core/DustEntity.h:42:
In file included from src/Core/Entity.h:108:
src/Core/OOCocoa.h:22:9: warning: 'IBOutlet' macro redefined
#define IBOutlet /**/
^
:21:9: note: previous definition is here
#define IBOutlet __attribute__((iboutlet))
^
In file included from src/Core/DustEntity.m:40:
In file included from src/Core/DustEntity.h:42:
In file included from src/Core/Entity.h:108:
src/Core/OOCocoa.h:23:9: warning: 'IBAction' macro redefined
#define IBAction void
^
:23:9: note: previous definition is here
#define IBAction void)__attribute__((ibaction)
^
In file included from src/Core/AI.m:40:
In file included from src/Core/AI.h:42:
In file included from src/Core/entities.h:40:
In file included from src/Core/Entity.h:108:
src/Core/OOCocoa.h:22:9: warning: 'IBOutlet' macro redefined
#define IBOutlet /**/
^
:21:9: note: previous definition is here
#define IBOutlet __attribute__((iboutlet))
^
In file included from src/Core/AI.m:40:
In file included from src/Core/AI.h:42:
In file included from src/Core/entities.h:40:
In file included from src/Core/Entity.h:108:
src/Core/OOCocoa.h:23:9: warning: 'IBAction' macro redefined
#define IBAction void
^
:23:9: note: previous definition is here
#define IBAction void)__attribute__((ibaction)
^
In file included from src/Core/GameController.m:40:
In file included from src/Core/Universe.h:42:
In file included from src/Core/entities.h:40:
src/Core/Entity.h:337:32: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:32: note: introduce a parameter name to make 'x' part of the selector
src/Core/Entity.h:337:33: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:44: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:44: note: introduce a parameter name to make 'y' part of the selector
src/Core/Entity.h:337:45: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:444:6: error: cannot declare variable inside @interface or @protocol
BOOL mygl_texture_2d;
^
In file included from src/Core/GameController.m:40:
In file included from src/Core/Universe.h:42:
In file included from src/Core/entities.h:41:
src/Core/ShipEntity.h:373:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
^
src/Core/ShipEntity.h:373:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:373:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
^
src/Core/ShipEntity.h:374:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
^
src/Core/ShipEntity.h:374:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:374:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
^
src/Core/ShipEntity.h:375:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
src/Core/ShipEntity.h:375:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:375:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
src/Core/ShipEntity.h:572:87: warning: 'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:87: note: introduce a parameter name to make 'vi' part of the selector
src/Core/ShipEntity.h:572:89: note: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:99: warning: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:99: note: introduce a parameter name to make 'vj' part of the selector
src/Core/ShipEntity.h:572:101: note: or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:95: warning: 'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:95: note: introduce a parameter name to make 'vi' part of the selector
src/Core/ShipEntity.h:573:97: note: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:107: warning: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:107: note: introduce a parameter name to make 'vj' part of the selector
src/Core/ShipEntity.h:573:109: note: or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
In file included from src/Core/Entity.m:39:
src/Core/Entity.h:337:32: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:32: note: introduce a parameter name to make 'x' part of the selector
src/Core/Entity.h:337:33: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:44: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:44: note: introduce a parameter name to make 'y' part of the selector
src/Core/Entity.h:337:45: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:444:6: error: cannot declare variable inside @interface or @protocol
BOOL mygl_texture_2d;
^
In file included from src/Core/Entity.m:43:
In file included from src/Core/Universe.h:42:
In file included from src/Core/entities.h:41:
src/Core/ShipEntity.h:373:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
^
src/Core/ShipEntity.h:373:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:373:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
^
src/Core/ShipEntity.h:374:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
^
src/Core/ShipEntity.h:374:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:374:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
^
src/Core/ShipEntity.h:375:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
src/Core/ShipEntity.h:375:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:375:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
src/Core/ShipEntity.h:572:87: warning: 'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:87: note: introduce a parameter name to make 'vi' part of the selector
src/Core/ShipEntity.h:572:89: note: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:99: warning: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:99: note: introduce a parameter name to make 'vj' part of the selector
src/Core/ShipEntity.h:572:101: note: or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:95: warning: 'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:95: note: introduce a parameter name to make 'vi' part of the selector
src/Core/ShipEntity.h:573:97: note: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:107: warning: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:107: note: introduce a parameter name to make 'vj' part of the selector
src/Core/ShipEntity.h:573:109: note: or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
In file included from src/Core/GameController.m:40:
In file included from src/Core/Universe.h:42:
In file included from src/Core/entities.h:47:
src/Core/PlanetEntity.h:115:9: error: cannot declare variable inside @interface or @protocol
double sin_value[450];
^
src/Core/PlanetEntity.h:116:10: error: cannot declare variable inside @interface or @protocol
double *cos_value;
^
src/Core/PlanetEntity.h:117:9: error: cannot declare variable inside @interface or @protocol
double corona_speed_factor; // multiply delta_t by this before adding it to corona_stage
^
src/Core/PlanetEntity.h:118:9: error: cannot declare variable inside @interface or @protocol
double corona_stage; // 0.0 -> 1.0
^
src/Core/PlanetEntity.h:119:10: error: cannot declare variable inside @interface or @protocol
GLfloat rvalue[729]; // stores random values for adjusting colors in the corona
^
In file included from src/Core/GameController.m:40:
In file included from src/Core/Universe.h:42:
In file included from src/Core/entities.h:51:
src/Core/SkyEntity.h:98:35: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:98:35: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:98:39: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:99:35: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
src/Core/SkyEntity.h:99:35: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:99:39: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
src/Core/SkyEntity.h:101:40: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:101:40: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:101:44: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
^
In file included from src/Core/GameController.m:40:
In file included from src/Core/Universe.h:43:
src/Core/GuiDisplayGen.h:182:34: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:34In file included from : note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.msrc/Core/GuiDisplayGen.h:182:35: :40note:
src/Core/GuiDisplayGen.h:182:34: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe; ^
^
src/Core/GuiDisplayGen.h:182:34: src/Core/GuiDisplayGen.hnote: introduce a parameter name to make 'x' part of the selector
:182src/Core/GuiDisplayGen.h:182::46:35 : note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:src/Core/GuiDisplayGen.h:182:46:46 :note : warningintroduce a parameter name to make 'y' part of the selector:
'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
src/Core/GuiDisplayGen.h:182:47: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:46- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
: note: introduce a parameter name to make 'y' part of the selector
src/Core/GuiDisplayGen.h:src/Core/GuiDisplayGen.h:182:47:182 :58: warning: note'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]:
or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
^
src/Core/GuiDisplayGen.h:182:58: note: introduce a parameter name to make 'z' part of the selector
src/Core/GuiDisplayGen.hsrc/Core/GuiDisplayGen.h:182:59: note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
:182:58: warning: 'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:58: note: introduce a parameter name to make 'z' part of the selector
src/Core/GuiDisplayGen.h:src/Core/GuiDisplayGen.h:182:18359:36: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
: note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
^
src/Core/GuiDisplayGen.h:183:36: note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.h:183:src/Core/GuiDisplayGen.h:183:36: 37warning:: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]note:
or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
src/Core/GuiDisplayGen.h:183:36: ^
note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.hsrc/Core/GuiDisplayGen.h::183:37:183 :note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
48: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.hsrc/Core/GuiDisplayGen.h::183:48: note: introduce a parameter name to make 'y' part of the selector
183src/Core/GuiDisplayGen.h:183:49: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
:48: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:src/Core/GuiDisplayGen.h:183:48: 183note:: 60introduce a parameter name to make 'y' part of the selector:
warning: src/Core/GuiDisplayGen.h:183:49:'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:60: notesrc/Core/GuiDisplayGen.h:183:60: : warningintroduce a parameter name to make 'z' part of the selector
: 'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]src/Core/GuiDisplayGen.h:183:61
: note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:60: note: introduce a parameter name to make 'z' part of the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;src/Core/GuiDisplayGen.h:183:61: note:
or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
^
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
In file included from src/Core/GuiDisplayGen.m:41:
In file included from src/Core/Universe.h:42:
In file included from src/Core/entities.h:40:
src/Core/Entity.h:337:32: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:32: note: introduce a parameter name to make 'x' part of the selector
src/Core/Entity.h:337:33: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:44: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:44: note: introduce a parameter name to make 'y' part of the selector
src/Core/Entity.h:337:45: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^In file included from
src/Core/Entity.m:43:
In file included from src/Core/Universe.h:42:
In file included from src/Core/entities.h:47:
src/Core/PlanetEntity.h:115:9: error: cannot declare variable inside @interface or @protocol
double sin_value[450];
^
src/Core/PlanetEntity.h:116:10: error: cannot declare variable inside @interface or @protocol
double *cos_value;
^
src/Core/PlanetEntity.h:117:9: error: cannot declare variable inside @interface or @protocol
double corona_speed_factor; // multiply delta_t by this before adding it to corona_stage
^
src/Core/PlanetEntity.h:118:9: error: cannot declare variable inside @interface or @protocol
double corona_stage; // 0.0 -> 1.0
^
src/Core/PlanetEntity.h:119:10: error: cannot declare variable inside @interface or @protocol
GLfloat rvalue[729]; // stores random values for adjusting colors in the corona
^
In file included from src/Core/HeadUpDisplay.m:43:
In file included from src/Core/HeadUpDisplay.h:46:
In file included from src/SDL/MyOpenGLView.h:38:
src/Core/OOCocoa.h:22:9: warning: 'IBOutlet' macro redefined
In file included from src/Core/GameController.m:41:
src/Core/ResourceManager.h:108:42: warning: 'float_string' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
#define IBOutlet /**/
^
:21:9: note: previous definition is here
+ (void) GLFloatsFromString: (NSString*) float_string: (GLfloat*) float_array;
^
src/Core/ResourceManager.h:108:42: #define IBOutlet __attribute__((iboutlet))note:
introduce a parameter name to make 'float_string' part of the selector ^
src/Core/ResourceManager.h:src/Core/Entity.h108::In file included from 54src/Core/HeadUpDisplay.m:444: :436note:
In file included from : src/Core/HeadUpDisplay.hor insert whitespace before ':' to use 'float_string' as parameter name and have an empty entry in the selector:
46:
In file included from src/SDL/MyOpenGLView.h:38:
src/Core/OOCocoa.h:23:9: warning: :'IBAction' macro redefined
error: cannot declare variable inside @interface or @protocol
In file included from src/Core/Entity.m:43+ (void) GLFloatsFromString: (NSString*) float_string: (GLfloat*) float_array;#define IBAction void
^
:
^BOOL mygl_texture_2d;
In file included from src/Core/Universe.h:: ^23
:9: note: previous definition is here
42:
In file included from src/Core/entities.h:51:
src/Core/SkyEntity.h:98:35: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
#define IBAction void)__attribute__((ibaction)
^
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:98:35: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:98:39: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:99:35: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
src/Core/SkyEntity.h:99:35: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:99:39: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
src/Core/SkyEntity.h:101:40: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:101:40: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:101:44: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
^
In file included from src/Core/GuiDisplayGen.m:41:
In file included from src/Core/Universe.h:42:
In file included from src/Core/entities.h:41:
src/Core/ShipEntity.h:373:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
^
src/Core/ShipEntity.h:373:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:373:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
^
src/Core/ShipEntity.h:374:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
^
src/Core/ShipEntity.h:374:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:374:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
In file included from src/Core/DustEntity.m:40:
In file included from src/Core/DustEntity.h:42:
src/Core/Entity.h:337:32: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
^
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:src/Core/ShipEntity.h32::375: 34: note: introduce a parameter name to make 'x' part of the selector
warning: src/Core/Entity.h:337:33: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:44: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
^
src/Core/Entity.h:337:44: note: introduce a parameter name to make 'y' part of the selector
src/Core/ShipEntity.h:375:src/Core/Entity.h:337:45: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:375:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
src/Core/Entity.h:444:6: error: cannot declare variable inside @interface or @protocol
BOOL mygl_texture_2d;
^
src/Core/ShipEntity.h:572:87: warning: 'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:87: note: introduce a parameter name to make 'vi' part of the selector
src/Core/ShipEntity.h:572:89: note: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:99: warning: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:99: note: introduce a parameter name to make 'vj' part of the selector
src/Core/ShipEntity.h:572:101: note: or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:95: warning: 'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
In file included from src/Core/DustEntity.m:41:
In file included from src/Core/entities.h:41:
src/Core/ShipEntity.h:373- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^:
34: warning: src/Core/ShipEntity.h:'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]573:95:
note: introduce a parameter name to make 'vi' part of the selector
src/Core/ShipEntity.h:573:97: note: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
^
src/Core/ShipEntity.h:373:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:373:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;src/Core/ShipEntity.h:
^
573:107: warning: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
src/Core/ShipEntity.h:374:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
^
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
src/Core/ShipEntity.h:374:34: note: introduce a parameter name to make 'v0' part of the selector
^src/Core/ShipEntity.h:
374:src/Core/ShipEntity.h:36573:107: :note: introduce a parameter name to make 'vj' part of the selector
notesrc/Core/ShipEntity.h:573:109: note: or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector
: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
^
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:375:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
src/Core/ShipEntity.h:375:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:375:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
In file included from src/Core/Entity.m:43:
In file included from src/Core/Universe.h:43:
src/Core/GuiDisplayGen.h:182:34: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:34: note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.h:182:35: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:46: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:46: note: introduce a parameter name to make 'y' part of the selector
src/Core/GuiDisplayGen.h:182:47: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:58: warning: 'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:58: note: introduce a parameter name to make 'z' part of the selector
src/Core/GuiDisplayGen.h:182:59: note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
src/Core/ShipEntity.h:572:87: warning: 'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:36: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:87: note: introduce a parameter name to make 'vi' part of the selector
src/Core/ShipEntity.h:572:89: note: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:36: note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.h:183:37: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:99: warning: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:48: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:99: note: introduce a parameter name to make 'vj' part of the selector
src/Core/ShipEntity.h:572:101: note: or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:48: note: introduce a parameter name to make 'y' part of the selector
src/Core/GuiDisplayGen.h:183:49: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:95: warning: 'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:60: warning: 'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:95: note: introduce a parameter name to make 'vi' part of the selector
src/Core/ShipEntity.h:573:97: note: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:60: note: introduce a parameter name to make 'z' part of the selector
src/Core/GuiDisplayGen.h:183:61: note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:107: warning: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:107: note: introduce a parameter name to make 'vj' part of the selector
src/Core/ShipEntity.h:573:109: note: or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
21 warnings and 6 errors generated.
In file included from src/Core/Entity.m:46:
src/Core/ResourceManager.h:108:42: warning: 'float_string' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
+ (void) GLFloatsFromString: (NSString*) float_string: (GLfloat*) float_array;
^
src/Core/ResourceManager.h:108:42/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: recipe for target 'obj/oolite.obj/GameController.m.o' failed
: note: introduce a parameter name to make 'float_string' part of the selectorgmake[3]: *** [obj/oolite.obj/GameController.m.o] Error 1
src/Core/ResourceManager.h:108:54: note: or insert whitespace before ':' to use 'float_string' as parameter name and have an empty entry in the selector
gmake[3]: *** Waiting for unfinished jobs....
+ (void) GLFloatsFromString: (NSString*) float_string: (GLfloat*) float_array;
^
In file included from src/Core/GuiDisplayGen.m:41:
In file included from src/Core/Universe.h:42:
In file included from src/Core/entities.h:47:
src/Core/PlanetEntity.h:115:9: error: cannot declare variable inside @interface or @protocol
double sin_value[450];
^
src/Core/PlanetEntity.h:116:10: error: cannot declare variable inside @interface or @protocol
double *cos_value;
^
src/Core/PlanetEntity.h:117:9: error: cannot declare variable inside @interface or @protocol
double corona_speed_factor; // multiply delta_t by this before adding it to corona_stage
^
src/Core/PlanetEntity.h:118:9: error: cannot declare variable inside @interface or @protocol
double corona_stage; // 0.0 -> 1.0
^
src/Core/PlanetEntity.h:119:10: error: cannot declare variable inside @interface or @protocol
GLfloat rvalue[729]; // stores random values for adjusting colors in the corona
^
In file included from src/Core/AI.m:40:
In file included from src/Core/GuiDisplayGen.m:41:
In file included from src/Core/Universe.h:42:
In file included from src/Core/entities.hIn file included from :51src/Core/AI.h:
src/Core/SkyEntity.h::42:
In file included from src/Core/entities.h:40:
src/Core/Entity.h:337:32:98 warning: :'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]35
: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
^
src/Core/SkyEntity.h:98:35: note: introduce a parameter name to make 'col1' part of the selector
src/Core/Entity.h:src/Core/SkyEntity.h:98:39: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
337:32: note: introduce a parameter name to make 'x' part of the selector
src/Core/Entity.h:337:33: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
src/Core/SkyEntity.h:99:35: ^
warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
src/Core/Entity.h:337:44: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
:44:src/Core/SkyEntity.hsrc/Core/Entity.m: :99note703:: :introduce a parameter name to make 'y' part of the selector35
32:src/Core/Entity.h :warning337:: 45:'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name] :
note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:99:39: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z
^
src/Core/Entity.m- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
: ^703
:32: note: introduce a parameter name to make 'x' part of the selector
src/Core/Entity.m:703:33: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z
^
src/Core/Entity.m:703:44: warningsrc/Core/SkyEntity.h:: 101:40: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
^
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z
src/Core/SkyEntity.h:101 ^
:40src/Core/Entity.m:703:44: note: introduce a parameter name to make 'y' part of the selector
:src/Core/Entity.m:703: 45: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:101:44: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z
^
- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
^
src/Core/Entity.h:444:6: error: cannot declare variable inside @interface or @protocol
BOOL mygl_texture_2d;
^
In file included from src/Core/AI.m:40:
In file included from src/Core/AI.h:42:
In file included from src/Core/entities.h:41:
src/Core/ShipEntity.h:373:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
^
src/Core/ShipEntity.h:373:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:373:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
^
src/Core/ShipEntity.h:374:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
^
src/Core/ShipEntity.h:374:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:374:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
^
src/Core/ShipEntity.h:375:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
src/Core/ShipEntity.h:375:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:375:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
src/Core/ShipEntity.h:572:87: warning: 'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:87: note: introduce a parameter name to make 'vi' part of the selector
src/Core/ShipEntity.h:572:89: note: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:99: warning: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:99: note: introduce a parameter name to make 'vj' part of the selector
src/Core/ShipEntity.h:572:101: note: or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:95: warning: 'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:95: note: introduce a parameter name to make 'vi' part of the selector
src/Core/ShipEntity.h:573:97: note: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:107: warning: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
In file included from src/Core/GuiDisplayGen.m:43- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;In file included from :
src/Core/ResourceManager.hsrc/Core/HeadUpDisplay.m::108
: ^44
42:src/Core/ShipEntity.h ::
warning573: :src/Core/ResourceManager.h'float_string' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]107
::108:42: warningnote: : 'float_string' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]introduce a parameter name to make 'vj' part of the selector
src/Core/ShipEntity.h:573:109: note: or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector
+ (void) GLFloatsFromString: (NSString*) float_string: (GLfloat*) float_array;
^
src/Core/ResourceManager.h:108:42: note: introduce a parameter name to make 'float_string' part of the selector
src/Core/ResourceManager.h:+ (void) GLFloatsFromString: (NSString*) float_string: (GLfloat*) float_array;
^
108:54: note: or insert whitespace before ':' to use 'float_string' as parameter name and have an empty entry in the selector
src/Core/ResourceManager.h:108:42: note: - (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;introduce a parameter name to make 'float_string' part of the selector
^
src/Core/ResourceManager.h:108:54: note: or insert whitespace before ':' to use 'float_string' as parameter name and have an empty entry in the selector
+ (void) GLFloatsFromString: (NSString*) float_string: (GLfloat*) float_array;
^
+ (void) GLFloatsFromString: (NSString*) float_string: (GLfloat*) float_array;
^
In file included from src/Core/HeadUpDisplay.m:45:
In file included from src/Core/PlayerEntity.h:41:
In file included from src/Core/ShipEntity.h:42:
src/Core/Entity.h:337:32: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:32: note: introduce a parameter name to make 'x' part of the selector
src/Core/Entity.h:337:33: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:44: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:44: note: introduce a parameter name to make 'y' part of the selector
src/Core/Entity.h:337:45: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:444:6: error: cannot declare variable inside @interface or @protocol
BOOL mygl_texture_2d;
^
In file included from src/Core/HeadUpDisplay.m:45:
In file included from src/Core/PlayerEntity.h:41:
src/Core/ShipEntity.h:373:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
^
src/Core/ShipEntity.h:373:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:373:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
^
src/Core/ShipEntity.h:374:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
^
src/Core/ShipEntity.h:374:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:374:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
^
src/Core/ShipEntity.h:375:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
src/Core/ShipEntity.h:375:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:375:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
src/Core/GuiDisplayGen.m:814:34: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe
^
src/Core/GuiDisplayGen.m:814:34: note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.m:814:35: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe
^
src/Core/GuiDisplayGen.m:814:46: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe
^
src/Core/GuiDisplayGen.m:814:46: note: introduce a parameter name to make 'y' part of the selector
src/Core/GuiDisplayGen.m:814:47: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
src/Core/Entity.m:992:43: warning: more '%' conversions than data arguments [-Wformat]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe
^
src/Core/GuiDisplayGen.m:814: NSLog(@"ERROR no basefile for entity %@");
58 ~^
: warning: 'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe
^
src/Core/GuiDisplayGen.m:814:58: note: introduce a parameter name to make 'z' part of the selector
src/Core/GuiDisplayGen.m:814:59: note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
src/Core/ShipEntity.h:572:87: warning: 'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe
^
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:87: note: introduce a parameter name to make 'vi' part of the selector
src/Core/ShipEntity.h:572:89: note: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selector
src/Core/GuiDisplayGen.m:945:36: warning: - (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
^
src/Core/ShipEntity.h:572:99: warning: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe
^
src/Core/GuiDisplayGen.m:945:36: note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.m:- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;945:37: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
^
src/Core/ShipEntity.h:572:99: note: introduce a parameter name to make 'vj' part of the selector
src/Core/ShipEntity.h:572:101: note: or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe
^
src/Core/GuiDisplayGen.m:945:48: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:95: warning: 'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe
^
src/Core/GuiDisplayGen.m:945:48: note: introduce a parameter name to make 'y' part of the selector
src/Core/GuiDisplayGen.m:945:49: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:95: note: introduce a parameter name to make 'vi' part of the selector
src/Core/ShipEntity.h:573:97: note: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe
^
src/Core/GuiDisplayGen.m:945:60: warning: 'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:107: warning: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe
^
src/Core/GuiDisplayGen.m:945:60: note: introduce a parameter name to make 'z' part of the selector
src/Core/GuiDisplayGen.m:945:61: note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:107: note: introduce a parameter name to make 'vj' part of the selector
src/Core/ShipEntity.h:573:109: note- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe
^
: or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/GuiDisplayGen.m:382:11: warning: expression which evaluates to zero treated as a null pointer constant of type 'NSString *' [-Wnon-literal-null-conversion]
title = NO;
^~
/usr/local/include/objc/runtime.h:195:13: note: expanded from macro 'NO'
# define NO ((BOOL)0)
^~~~~~~~~
src/Core/Entity.m:1733:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
NSLog([NSString stringWithFormat:@"%@ ..... from %@ %@", failString, filename, (using_preloaded)? @"(from preloaded data)" : @"(from file)"]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/Core/HeadUpDisplay.m:46:
In file included from src/Core/PlanetEntity.h:42:
In file included from src/Core/entities.h:51:
src/Core/SkyEntity.h:98:35: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:98:35: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:98:39: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:99:35: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
src/Core/SkyEntity.h:99:35: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:99:39: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
In file included from src/Core/DustEntity.m:41:
In file included from src/Core/entities.h:47:
src/Core/PlanetEntity.h:115:9: error: cannot declare variable inside @interface or @protocol
double sin_value[450];
^
src/Core/PlanetEntity.h:116:10:- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
error: cannot declare variable inside @interface or @protocol
double *cos_value;src/Core/SkyEntity.h:
101: ^
40: src/Core/PlanetEntity.h:117:9: errorwarning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
: cannot declare variable inside @interface or @protocol
- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:101:40: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:101double corona_speed_factor; // multiply delta_t by this before adding it to corona_stage
^
:44:src/Core/PlanetEntity.h:118:9: error: cannot declare variable inside @interface or @protocol
note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
double corona_stage; // 0.0 -> 1.0
^
src/Core/PlanetEntity.h:119:10: error- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
: ^
cannot declare variable inside @interface or @protocol
GLfloat rvalue[729]; // stores random values for adjusting colors in the corona
^
In file included from src/Core/DustEntity.m:41:
In file included from src/Core/entities.h:51:
src/Core/SkyEntity.h:98:35: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:98:35: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:98:39: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:99:35: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
src/Core/SkyEntity.h:99:35: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:99:39: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
src/Core/SkyEntity.h:101:40: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:101:40: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:101:44: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
In file included from src/Core/HeadUpDisplay.m:46:
In file included from src/Core/PlanetEntity.h:42:
In file included from src/Core/entities.h:52:
In file included from src/Core/ParticleEntity.h:43:
In file included from src/Core/Universe.h:43:
src/Core/GuiDisplayGen.h:182:34: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
^
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:34: note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.h:182:35: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:46: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:46: note: introduce a parameter name to make 'y' part of the selector
src/Core/GuiDisplayGen.h:182:47: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:58: warning: 'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:58: note: introduce a parameter name to make 'z' part of the selector
src/Core/GuiDisplayGen.h:182:59: note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:36: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:36: note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.h:183:37: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:48: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:48: note: introduce a parameter name to make 'y' part of the selector
src/Core/GuiDisplayGen.h:183:49: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:60: warning: 'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:60: note: introduce a parameter name to make 'z' part of the selector
src/Core/GuiDisplayGen.h:183:61: note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
In file included from src/Core/DustEntity.m:41:
In file included from src/Core/entities.h:52:
In file included from src/Core/ParticleEntity.h:43:
In file included from src/Core/Universe.h:43:
src/Core/GuiDisplayGen.h:182:34: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:34: note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.h:182:35: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:46: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:46: note: introduce a parameter name to make 'y' part of the selector
src/Core/GuiDisplayGen.h:182:47: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:58: warning: 'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:58: note: introduce a parameter name to make 'z' part of the selector
src/Core/GuiDisplayGen.h:182:59: note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:36: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:36: note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.h:183:37: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:48: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:48: note: introduce a parameter name to make 'y' part of the selector
src/Core/GuiDisplayGen.h:183:49: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:60: warning: 'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:60: note: introduce a parameter name to make 'z' part of the selector
src/Core/GuiDisplayGen.h:183:61: note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
In file included from src/Core/HeadUpDisplay.m:46:
src/Core/PlanetEntity.h:115:9: error: cannot declare variable inside @interface or @protocol
double sin_value[450];
^
src/Core/PlanetEntity.h:116:10: error: cannot declare variable inside @interface or @protocol
double *cos_value;
^
src/Core/PlanetEntity.h:117:9: error: cannot declare variable inside @interface or @protocol
double corona_speed_factor; // multiply delta_t by this before adding it to corona_stage
^
src/Core/PlanetEntity.h:118:9: error: cannot declare variable inside @interface or @protocol
double corona_stage; // 0.0 -> 1.0
^
src/Core/PlanetEntity.h:119:10: error: cannot declare variable inside @interface or @protocol
GLfloat rvalue[729]; // stores random values for adjusting colors in the corona
^
25 warnings and 6 errors generated.
In file included from src/Core/AI.m:40:
In file included from src/Core/AI.h:42:
In file included from src/Core/entities.h:47:
src/Core/PlanetEntity.h:115:9: error: cannot declare variable inside @interface or @protocol
double sin_value[450];
^
src/Core/PlanetEntity.h:116:10: error: cannot declare variable inside @interface or @protocol
double *cos_value;
^
src/Core/PlanetEntity.h:117:9: error: cannot declare variable inside @interface or @protocol
double corona_speed_factor; // multiply delta_t by this before adding it to corona_stage
^
src/Core/PlanetEntity.h:118:9: error: cannot declare variable inside @interface or @protocol
double corona_stage; // 0.0 -> 1.0
^
src/Core/PlanetEntity.h:119:10: error: cannot declare variable inside @interface or @protocol
GLfloat rvalue[729]; // stores random values for adjusting colors in the corona
^
In file included from src/Core/AI.m:40:
In file included from src/Core/AI.h:42:
In file included from src/Core/entities.h:51:
src/Core/SkyEntity.h:98:35: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:98:35: note/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: recipe for target 'obj/oolite.obj/Entity.m.o' failed
: introduce a parameter name to make 'col1' part of the selector
gmake[3]: *** [obj/oolite.obj/Entity.m.o] Error 1
src/Core/SkyEntity.h:98:39: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:99:35: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
src/Core/SkyEntity.h:99:35: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:99:39: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
src/Core/SkyEntity.h:101:40: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:101:40: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:101:44: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
^
28 warnings and 6 errors generated.
20 warnings and 6 errors generated.
/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: recipe for target 'obj/oolite.obj/GuiDisplayGen.m.o' failed
gmake[3]: *** [obj/oolite.obj/GuiDisplayGen.m.o] Error 1
In file included from src/Core/AI.m:40:
In file included from src/Core/AI.h:42:
In file included from src/Core/entities.h:52:
In file included from src/Core/ParticleEntity.h:43:
In file included from src/Core/Universe.h:43:
src/Core/GuiDisplayGen.h:182:34: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:34: note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.h:182:35: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: recipe for target 'obj/oolite.obj/DustEntity.m.o' failed
gmake[3]: *** [obj/oolite.obj/DustEntity.m.o] Error 1
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:46: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:46: note: introduce a parameter name to make 'y' part of the selector
src/Core/GuiDisplayGen.h:182:47: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:58: warning: 'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:58: note: introduce a parameter name to make 'z' part of the selector
src/Core/GuiDisplayGen.h:182:59: note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:36: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:36: note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.h:183:37: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:48: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:48: note: introduce a parameter name to make 'y' part of the selector
src/Core/GuiDisplayGen.h:183:49: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:60: warning: 'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:60: note: introduce a parameter name to make 'z' part of the selector
src/Core/GuiDisplayGen.h:183:61: note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
In file included from src/Core/AI.m:42:
src/Core/ResourceManager.h:108:42: warning: 'float_string' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
+ (void) GLFloatsFromString: (NSString*) float_string: (GLfloat*) float_array;
^
src/Core/ResourceManager.h:108:42: note: introduce a parameter name to make 'float_string' part of the selector
src/Core/ResourceManager.h:108:54: note: or insert whitespace before ':' to use 'float_string' as parameter name and have an empty entry in the selector
+ (void) GLFloatsFromString: (NSString*) float_string: (GLfloat*) float_array;
^
src/Core/AI.m:63:22: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use]
stateMachineName = [[NSString stringWithString:@"None allocated"] retain]; // no initial brain
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/Core/AI.m:206:18: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use]
currentState = [[NSString stringWithString:@"GLOBAL"] retain];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23 warnings and 6 errors generated.
/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: recipe for target 'obj/oolite.obj/AI.m.o' failed
gmake[3]: *** [obj/oolite.obj/AI.m.o] Error 1
src/SDL/main.m:20:16: warning: extra tokens at end of #ifdef directive [-Wextra-tokens]
#ifdef GNUSTEP && !OOLITE_SDL_MAC
^
//
21 warnings and 6 errors generated.
/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: recipe for target 'obj/oolite.obj/HeadUpDisplay.m.o' failed
gmake[3]: *** [obj/oolite.obj/HeadUpDisplay.m.o] Error 1
In file included from src/SDL/MyOpenGLView.m:41:
In file included from src/Core/Universe.h:42:
In file included from src/Core/entities.h:40:
src/Core/Entity.h:337:32: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:32: note: introduce a parameter name to make 'x' part of the selector
src/Core/Entity.h:337:33: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:44: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:337:44: note: introduce a parameter name to make 'y' part of the selector
3 warnings generated.
src/Core/Entity.h:337:45: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/Entity.h:444:6: error: cannot declare variable inside @interface or @protocol
BOOL mygl_texture_2d;
^
In file included from src/SDL/MyOpenGLView.m:41:
In file included from src/Core/Universe.h:42:
In file included from src/Core/entities.h:41:
src/Core/ShipEntity.h:373:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
^
src/Core/ShipEntity.h:373:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:373:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
^
src/Core/ShipEntity.h:374:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
^
src/Core/ShipEntity.h:374:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:374:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
^
src/Core/ShipEntity.h:375:34: warning: 'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
src/Core/ShipEntity.h:375:34: note: introduce a parameter name to make 'v0' part of the selector
src/Core/ShipEntity.h:375:36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
src/Core/ShipEntity.h:572:87: warning: 'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:87: note: introduce a parameter name to make 'vi' part of the selector
src/Core/ShipEntity.h:572:89: note: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:99: warning: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572:99: note: introduce a parameter name to make 'vj' part of the selector
src/Core/ShipEntity.h:572:101: note: or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:95: warning: 'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:95: note: introduce a parameter name to make 'vi' part of the selector
src/Core/ShipEntity.h:573:97: note: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:107: warning: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:573:107: note: introduce a parameter name to make 'vj' part of the selector
src/Core/ShipEntity.h:573:109: note: or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
In file included from src/SDL/MyOpenGLView.m:41:
In file included from src/Core/Universe.h:42:
In file included from src/Core/entities.h:47:
src/Core/PlanetEntity.h:115:9: error: cannot declare variable inside @interface or @protocol
double sin_value[450];
^
src/Core/PlanetEntity.h:116:10: error: cannot declare variable inside @interface or @protocol
double *cos_value;
^
src/Core/PlanetEntity.h:117:9: error: cannot declare variable inside @interface or @protocol
double corona_speed_factor; // multiply delta_t by this before adding it to corona_stage
^
src/Core/PlanetEntity.h:118:9: error: cannot declare variable inside @interface or @protocol
double corona_stage; // 0.0 -> 1.0
^
src/Core/PlanetEntity.h:119:10: error: cannot declare variable inside @interface or @protocol
GLfloat rvalue[729]; // stores random values for adjusting colors in the corona
^
In file included from src/SDL/MyOpenGLView.m:41:
In file included from src/Core/Universe.h:42:
In file included from src/Core/entities.h:51:
src/Core/SkyEntity.h:98:35: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:98:35: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:98:39: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:99:35: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
src/Core/SkyEntity.h:99:35: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:99:39: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
src/Core/SkyEntity.h:101:40: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:101:40: note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:101:44: note: or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
^
In file included from src/SDL/MyOpenGLView.m:41:
In file included from src/Core/Universe.h:43:
src/Core/GuiDisplayGen.h:182:34: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:34: note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.h:182:35: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:46: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:46: note: introduce a parameter name to make 'y' part of the selector
src/Core/GuiDisplayGen.h:182:47: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:58: warning: 'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:58: note: introduce a parameter name to make 'z' part of the selector
src/Core/GuiDisplayGen.h:182:59: note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:36: warning: 'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:36: note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.h:183:37: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:48: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:48: note: introduce a parameter name to make 'y' part of the selector
src/Core/GuiDisplayGen.h:183:49: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:60: warning: 'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:60: note: introduce a parameter name to make 'z' part of the selector
src/Core/GuiDisplayGen.h:183:61: note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/SDL/MyOpenGLView.m:781:21: warning: 159 enumeration values not handled in switch: 'SDLK_UNKNOWN', 'SDLK_BACKSPACE', 'SDLK_CLEAR'... [-Wswitch]
switch (kbd_event->keysym.sym) {
^
src/SDL/MyOpenGLView.m:909:21: warning: 161 enumeration values not handled in switch: 'SDLK_UNKNOWN', 'SDLK_BACKSPACE', 'SDLK_CLEAR'... [-Wswitch]
switch (kbd_event->keysym.sym) {
^
22 warnings and 6 errors generated.
/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: recipe for target 'obj/oolite.obj/MyOpenGLView.m.o' failed
gmake[3]: *** [obj/oolite.obj/MyOpenGLView.m.o] Error 1
/usr/local/GNUstep/System/Library/Makefiles/Instance/objc.make:64: recipe for target 'internal-objc_program-all_' failed
gmake[2]: *** [internal-objc_program-all_] Error 2
/usr/local/GNUstep/System/Library/Makefiles/Master/rules.make:311: recipe for target 'oolite.all.objc-program.variables' failed
gmake[1]: *** [oolite.all.objc-program.variables] Error 2
/usr/local/GNUstep/System/Library/Makefiles/Master/objc.make:36: recipe for target 'internal-all' failed
gmake: *** [internal-all] Error 2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1
Stop in /usr/mports/games/oolite.