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'.
cd .; \
/usr/local/GNUstep/System/Library/Makefiles/mkinstalldirs ./obj
/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
cd .; \
/usr/local/GNUstep/System/Library/Makefiles/mkinstalldirs ./obj/oolite.obj/
/usr/local/GNUstep/System/Library/Makefiles/objc.make:30: objc.make is deprecated. Please use tool.make instead
/usr/local/bin/clang34 src/Core/vector.c -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -pthread -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DLINUX `/usr/local/bin/sdl-config --cflags` -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/vector.c.o
/usr/local/bin/clang34 src/Core/legacy_random.c -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -pthread -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DLINUX `/usr/local/bin/sdl-config --cflags` -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/legacy_random.c.o
/usr/local/bin/clang34 src/BSDCompat/strlcpy.c -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -pthread -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DLINUX `/usr/local/bin/sdl-config --cflags` -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/strlcpy.c.o
/usr/local/bin/clang34 src/SDL/Comparison.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/Comparison.m.o
/usr/local/bin/clang34 src/Core/AI.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/AI.m.o
/usr/local/bin/clang34 src/Core/DustEntity.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/DustEntity.m.o
/usr/local/bin/clang34 src/Core/Entity.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/Entity.m.o
/usr/local/bin/clang34 src/Core/GameController.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/GameController.m.o
/usr/local/bin/clang34 src/Core/GuiDisplayGen.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/GuiDisplayGen.m.o
/usr/local/bin/clang34 src/Core/HeadUpDisplay.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/HeadUpDisplay.m.o
/usr/local/bin/clang34 src/SDL/main.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/main.m.o
/usr/local/bin/clang34 src/SDL/MyOpenGLView.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/MyOpenGLView.m.o
/usr/local/bin/clang34 src/Core/OpenGLSprite.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/OpenGLSprite.m.o
/usr/local/bin/clang34 src/Core/ParticleEntity.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/ParticleEntity.m.o
/usr/local/bin/clang34 src/Core/PlanetEntity.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/PlanetEntity.m.o
/usr/local/bin/clang34 src/Core/PlayerEntity_Additions.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/PlayerEntity_Additions.m.o
/usr/local/bin/clang34 src/Core/PlayerEntity_contracts.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/PlayerEntity_contracts.m.o
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
^
:23:9: note: previous definition is here
#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: 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)
^
In file included from src/Core/OpenGLSprite.m:40:
In file included from src/Core/OpenGLSprite.h:40:
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/OpenGLSprite.m:40:
In file included from src/Core/OpenGLSprite.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)
^
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/Core/GuiDisplayGen.m:40:
In file included from src/Core/GuiDisplayGen.h:40:
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/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)
^
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)
^
/usr/local/bin/clang34 src/Core/PlayerEntity_Controls.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/PlayerEntity_Controls.m.o
/usr/local/bin/clang34 src/Core/PlayerEntity_Sound.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/PlayerEntity_Sound.m.o
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;
^
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/PlanetEntity.m:40:
In file included from src/Core/PlanetEntity.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/PlanetEntity.m:40:
In file included from src/Core/PlanetEntity.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/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/PlayerEntity_Additions.m:3:
In file included from src/Core/PlayerEntity Additions.m:40:
In file included from src/Core/PlayerEntity.h:41:
In file included from src/Core/ShipEntity.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/PlayerEntity_Additions.m:3:
In file included from src/Core/PlayerEntity Additions.m:40:
In file included from src/Core/PlayerEntity.h:41:
In file included from src/Core/ShipEntity.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/ParticleEntity.m:40:
In file included from src/Core/ParticleEntity.h:41:
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/ParticleEntity.m:40:
In file included from src/Core/ParticleEntity.h:41:
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/PlayerEntity_contracts.m:3:
In file included from src/Core/PlayerEntity (contracts).m:40:
In file included from src/Core/PlayerEntity.h:41:
In file included from src/Core/ShipEntity.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/PlayerEntity_contracts.m:3:
In file included from src/Core/PlayerEntity (contracts).m:40:
In file included from src/Core/PlayerEntity.h:41:
In file included from src/Core/ShipEntity.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/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
#define IBOutlet /**/
^
:21:9: note: previous definition is here
#define IBOutlet __attribute__((iboutlet))
^
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: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:
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/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]
- (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/PlanetEntity.m:40:
In file included from src/Core/PlanetEntity.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/PlanetEntity.m:40:
In file included from src/Core/PlanetEntity.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 subentitiessrc/SDL/main.m:20:16
: ^
warning: extra tokens at end of #ifdef directive [-Wextra-tokens]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
#ifdef GNUSTEP && !OOLITE_SDL_MAC
^
//
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
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]
- (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:src/Core/ShipEntity.h:45572: note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
:87: warning: 'vi' 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;
^
- (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]
src/Core/Entity.h:444:6: error: cannot declare variable inside @interface or @protocol
BOOL mygl_texture_2d;
^
- (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/DustEntity.m:41:
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/HeadUpDisplay.m:44:
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;
^
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/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: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]
In file included from src/Core/AI.m:40:
In file included from src/Core/AI.h:42:
In file included from - (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
src/Core/entities.h ^
:47:
src/Core/ShipEntity.h:src/Core/PlanetEntity.h:115:9: error: cannot declare variable inside @interface or @protocol373:
34: note: introduce a parameter name to make 'v0' part of the selectordouble sin_value[450];
^
src/Core/ShipEntity.h:373:src/Core/PlanetEntity.h:36: 116:10: error: cannot declare variable inside @interface or @protocol
note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
double *cos_value;
^
src/Core/PlanetEntity.h:117:9: error: - (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
cannot declare variable inside @interface or @protocol ^
src/Core/ShipEntity.h:374double 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
: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/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
- (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;
^
3 warnings generated.
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: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) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
In file included from src/Core/GuiDisplayGen.hsrc/Core/PlanetEntity.m:40:182:34: :
note: introduce a parameter name to make 'x' part of the selectorIn file included from src/Core/PlanetEntity.h
:42:
src/Core/GuiDisplayGen.h:182:35:In file included from src/Core/entities.h note:51:
: src/Core/SkyEntity.hor insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector:
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
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;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
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]
- (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]
- (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
- (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
- (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]
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
src/Core/SkyEntity.h:- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
101src/Core/GuiDisplayGen.h:182:58: note: :40: warning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]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) 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) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
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]
^
In file included from src/Core/AI.m- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;:
40 ^
:
In file included from 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]
/usr/local/bin/clang34 src/Core/PlayerEntity.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1 -DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -fno-strict-aliasing -fexceptions -fobjc-exceptions -D_NATIVE_OBJC_EXCEPTIONS -fobjc-nonfragile-abi -D_NONFRAGILE_ABI -pthread -fPIC -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -Wall -DGSWARN -DGSDIAGNOSE -Wno-import -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -Wno-import -I/usr/local/include -fgnu-runtime -I/usr/local/include -DLOADSAVEGUI -DLINUX -DHAVE_SOUND -Wno-import `/usr/local/bin/sdl-config --cflags` -fconstant-string-class=NSConstantString -Isrc/SDL -Isrc/Core -Isrc/BSDCompat -I. -I/magus/work/usr/mports/games/oolite/work/GNUstep/Library/Headers -I/usr/local/GNUstep/Local/Library/Headers -I/usr/local/GNUstep/System/Library/Headers -I/usr/local/include \
-o obj/oolite.obj/PlayerEntity.m.o
- (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/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: 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/PlanetEntity.m:40:
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) 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]
In file included from src/Core/DustEntity.m:41:
In file included from src/Core/entities.h:- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;47
:
^src/Core/PlanetEntity.h
:src/Core/GuiDisplayGen.h:115182::46:9 : noteerror: : introduce a parameter name to make 'y' part of the selectorcannot declare variable inside @interface or @protocol
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
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
- (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]
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
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182:58:double corona_stage; // 0.0 -> 1.0
^
note: introduce a parameter name to make 'z' part of the selector
src/Core/PlanetEntity.h:119src/Core/GuiDisplayGen.h::18210::59 : note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selectorerror
: cannot declare variable inside @interface or @protocol
GLfloat rvalue[729]; // stores random values for adjusting colors in the corona
^
- (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:In file included from src/Core/DustEntity.mnote:: 41or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector:
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- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;:
note ^:
introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:98:39: src/Core/GuiDisplayGen.hnote:: 183or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector:
60: warning: 'z' 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:- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
99 ^:
35: src/Core/GuiDisplayGen.hwarning: 'col1' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
: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
- (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
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
- (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]
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:- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;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]
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) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:182- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
^
: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
In file included from src/Core/HeadUpDisplay.m:46:
src/Core/PlanetEntity.h:115:9: error: cannot declare variable inside @interface or @protocol
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
double sin_value[450];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]
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
- (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
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
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
double corona_stage; // 0.0 -> 1.0
^
^
src/Core/PlanetEntity.h:119:10: error: cannot declare variable inside @interface or @protocol
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]
GLfloat rvalue[729]; // stores random values for adjusting colors in the corona
^
- (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/PlayerEntity_Additions.m:3:
In file included from src/Core/PlayerEntity Additions.m:40:
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;
^
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
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:src/Core/Entity.h:444:6: error: cannot declare variable inside @interface or @protocol
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
BOOL mygl_texture_2d;
^src/Core/GuiDisplayGen.h337::32182:
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/PlanetEntity.m:40:
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
src/Core/Entity.h:444:6::double *cos_value; 46error:
In file included from ^src/Core/PlayerEntity_Additions.m::
3:
In file included from src/Core/PlanetEntity.hwarningcannot declare variable inside @interface or @protocol:
117:9:: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]errorBOOL mygl_texture_2d;: src/Core/PlayerEntity Additions.m
:40
^:
cannot declare variable inside @interface or @protocol
double corona_speed_factor; // multiply delta_t by this before adding it to corona_stage
^
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
src/Core/PlanetEntity.h:118: ^In file included from
9src/Core/PlayerEntity.h: error: src/Core/GuiDisplayGen.hcannot declare variable inside @interface or @protocol:
: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]
double corona_stage; // 0.0 -> 1.0
^
src/Core/PlanetEntity.h:119:10: error: cannot declare variable inside @interface or @protocol
- (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 rvalue[729]; // stores random values for adjusting colors in the corona
^
- (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
^
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]
In file included from src/Core/AI.m:42:
src/Core/ResourceManager.h:108:42:182 In file included from :46warningsrc/Core/GuiDisplayGen.m:: - (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
'float_string' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
^:40
:
src/Core/GuiDisplayGen.h:182:34: warning: src/Core/ShipEntity.h:'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]374+ (void) GLFloatsFromString: (NSString*) float_string: (GLfloat*) float_array;:
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
src/Core/ResourceManager.h:108:42: note: introduce a parameter name to make 'float_string' part of the selector- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^src/Core/ResourceManager.h
:108:54- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
:src/Core/GuiDisplayGen.h34: :note ^
note: introduce a parameter name to make 'v0' part of the selector
182:src/Core/ShipEntity.h34:src/Core/GuiDisplayGen.h: :or insert whitespace before ':' to use 'float_string' as parameter name and have an empty entry in the selector:
182note:: 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) GLFloatsFromString: (NSString*) float_string: (GLfloat*) float_array;
^
- (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]
src/Core/ShipEntity.h:572- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
: ^87
: warningsrc/Core/GuiDisplayGen.h: :'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]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
58: warning: 'z' 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- (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;:
introduce a parameter name to make 'vi' part of the selector
^ ^
src/Core/GuiDisplayGen.hsrc/Core/ShipEntity.h:572src/Core/GuiDisplayGen.h:::18289::58182 :note :: 58: warning: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selector'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;
^
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
src/Core/GuiDisplayGen.h ^
:182:58: note: introduce a parameter name to make 'z' part of the selector
src/Core/ShipEntity.h:572src/Core/GuiDisplayGen.h::182:5999:: notewarning: : or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector'vj' 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: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
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;
^
- (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/ShipEntity.h:src/Core/GuiDisplayGen.h:183573::95: warning37: : note'vi' 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) 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.hsrc/Core/GuiDisplayGen.h::183573::4895:: note: warningintroduce a parameter name to make 'vi' 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/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/AI.msrc/Core/GuiDisplayGen.h374:- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^:
6336::183src/Core/ShipEntity.h::4822 :note: ::or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector 573 :warningnote: 107: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use]:introduce a parameter name to make 'y' part of the selector
warning
: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
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
stateMachineName = [[NSString stringWithString:@"None allocated"] retain]; // no initial brain
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^src/Core/ShipEntity.h:
573note:: 107src/Core/GuiDisplayGen.h:: 183note:60:: introduce a parameter name to make 'vj' part of the selectorwarningsrc/Core/PlanetEntity.m
introduce a parameter name to make 'z' part of the selector:
: src/Core/ShipEntity.h1250'z' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]:src/Core/GuiDisplayGen.h
::32182::573 :109warning59:: :'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
notenote: : or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selectoror 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) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z
^
src/Core/GuiDisplayGen.h:183src/Core/PlanetEntity.m::125061::32 :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;
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^ ^note
: introduce a parameter name to make 'x' part of the selector
src/Core/PlanetEntity.m:1250:33: note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector
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;
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z ^
^
src/Core/PlanetEntity.m:1250:44: 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) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z
src/Core/GuiDisplayGen.h ^:
183:36:src/Core/PlanetEntity.m: 1250note:: 44introduce a parameter name to make 'x' part of the selector:
note: src/Core/GuiDisplayGen.hintroduce a parameter name to make 'y' part of the selector:
183:37src/Core/PlanetEntity.m:1250:45: note: :or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
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
^
- (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/Core/AI.m:206:18: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use]
currentState = [[NSString stringWithString:@"GLOBAL"] retain];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
In file included from - (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/ParticleEntity.m:40:
In file included from src/Core/ParticleEntity.h:41:
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]
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:44: note: introduce a parameter name to make 'y' part of the selector- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
src/Core/Entity.h:337:45 ^:
note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selectorsrc/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;
^
- (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;
^
src/Core/Entity.h:444:6: error: cannot declare variable inside @interface or @protocol
BOOL mygl_texture_2d;
^
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:374In file included from :src/Core/ParticleEntity.m36: note:: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector40
:
In file included from src/Core/ParticleEntity.h: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 :(ShipEntity**) hitEntity;
^
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1;
^
src/Core/ShipEntity.h:373:34: note: src/Core/ShipEntity.hintroduce a parameter name to make 'v0' part of the selector:
375: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]:
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;
23 ^ warning
s- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities and
6 ^ errors generated.
src/Core/ShipEntity.h:374:src/Core/ShipEntity.h34::375 :warning34: :'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
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 :(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 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
- (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]
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- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^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/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: 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: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;
^
- (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:95: warning: 'vi' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
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;
^
src/Core/ShipEntity.h:573:95: - (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;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;gmake[3]: *** [/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: obj/oolite.obj/AI.m.o] Error 1
^
src/Core/ShipEntity.h:573:107: note: introduce a parameter name to make 'vj' part of the selector
gmake[3]: *** Waiting for unfinished jobs....
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/PlayerEntity_contracts.m:3:
In file included from src/Core/PlayerEntity (contracts).m:40:
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;
^
20 warnings and 6 errors generated.
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
^
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: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/PlayerEntity_contracts.m:3:
In file included from src/Core/PlayerEntity (contracts).m:40:
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
^
gmake[3]: *** [/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: obj/oolite.obj/DustEntity.m.o] Error 1
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: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
1 warning generated.
- (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/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];
^
2 warnings generated.
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/GuiDisplayGen.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/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]
+ (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;
^
In file included from src/Core/PlayerEntity_Additions.m:3:
In file included from src/Core/PlayerEntity Additions.m:42:
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]
In file included from src/Core/GuiDisplayGen.m:43:
- (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:59src/Core/ResourceManager.h:108:42: :warning note: or insert whitespace before ':' to use 'z' as parameter name and have an empty entry in the selector:
In file included from src/Core/PlayerEntity_Sound.m'float_string' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
:3:
In file included from src/Core/PlayerEntity (Sound).m:9:
In file included from src/Core/PlayerEntity (Sound).h:9:
In file included from src/Core/PlayerEntity.h- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
:+ (void) GLFloatsFromString: (NSString*) float_string: (GLfloat*) float_array; ^
41
:
^In file included from
src/Core/ShipEntity.h:42:
src/Core/GuiDisplayGen.h:183In file included from :src/Core/Entity.hsrc/Core/ResourceManager.h:36108:
src/Core/OOCocoa.h::22108::9 :: 42:warning : note'x' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]:
warningintroduce a parameter name to make 'float_string' part of the selector:
'IBOutlet' macro redefined
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) 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#define IBOutlet /**/
+ (void) GLFloatsFromString: (NSString*) float_string: (GLfloat*) float_array; ^
^
:21:9: note: previous definition is here
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
^
src/Core/GuiDisplayGen.h:183:48:#define IBOutlet __attribute__((iboutlet))
^
warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
In file included from src/Core/PlayerEntity_Sound.m:3:
In file included from src/Core/PlayerEntity (Sound).m:9:
In file included from src/Core/PlayerEntity (Sound).h:9:
In file included from src/Core/PlayerEntity.h:41:
In file included from src/Core/ShipEntity.h:42:
In file included from src/Core/Entity.h:108:
src/Core/OOCocoa.h:23:9: warning: 'IBAction' macro redefined
- (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
#define IBAction voidsrc/Core/GuiDisplayGen.h:
183 ^
:23:9: note: previous definition is here
#define IBAction void)__attribute__((ibaction)
^
: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/PlayerEntity_Additions.m:3:
In file included from src/Core/PlayerEntity Additions.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/PlayerEntity_Additions.m:3:
In file included from src/Core/PlayerEntity Additions.m:43:
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]
src/Core/GameController.m- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
: ^141
:10: warning: src/Core/SkyEntity.h:98:35: note: introduce a parameter name to make 'col1' part of the selector
implicit conversion from 'unsigned long' to 'int' changes value from 9223372036854775807 to -1 [-Wconstant-conversion]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;
^
return NSNotFound;
~~~~~~ ^~~~~~~~~~
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/GameController.m:145:11: warning: implicit conversion from 'unsigned long' to 'int' changes value from 9223372036854775807 to -1 [-Wconstant-conversion]
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
return NSNotFound; 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/PlayerEntity_Controls.m:3:
In file included from src/Core/PlayerEntity (Controls).m:40:
In file included from src/Core/PlayerEntity.h:41:
In file included from src/Core/ShipEntity.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/PlayerEntity_Controls.m:3:
In file included from src/Core/PlayerEntity (Controls).m:40:
In file included from src/Core/PlayerEntity.h:41:
In file included from src/Core/ShipEntity.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/PlayerEntity_Additions.m:3:
In file included from src/Core/PlayerEntity Additions.m:44:
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
src/Core/GuiDisplayGen.m:814:34: warning: + (void) GLFloatsFromString: (NSString*) float_string: (GLfloat*) float_array;'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
23 warnings and 6 errors generated.
- (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
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe
^
src/Core/GuiDisplayGen.m:814: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
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe
^
src/Core/GuiDisplayGen.m:945: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.m:945:36: note: introduce a parameter name to make 'x' part of the selector
src/Core/GuiDisplayGen.m:945: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.m:945: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.m:945:48: notesrc/Core/PlanetEntity.m:1601:: 33introduce a parameter name to make 'y' part of the selector
: warning: src/Core/GuiDisplayGen.mimplicit conversion from 'double' to 'NSUInteger' (aka 'unsigned long') changes value from 0.34 to 0 [-Wliteral-conversion]:945:49:
note: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector
NSRange activity = NSMakeRange(0.34, 1.0);
~~~~~~~~~~~ ^~~~
- (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]
- (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
- (void) drawGalaxyChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe
^
gmake[3]: *** [/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: obj/oolite.obj/GameController.m.o] Error 1
23 warnings and 6 errors generated.
gmake[3]: *** [/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: obj/oolite.obj/PlanetEntity.m.o] Error 1
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)
^~~~~~~~~
In file included from src/Core/PlayerEntity_Additions.m:3:
src/Core/PlayerEntity Additions.m:368:78: warning: format specifies type 'int' but the argument has type 'NSUInteger' (aka 'unsigned long') [-Wformat]
NSLog(@"performing a ONEOF comparison with %d elements: is %@ ONEOF %@", [valueStrings count], result, valueStrings);
~~ ^~~~~~~~~~~~~~~~~~~~
%lu
In file included from src/Core/PlayerEntity_contracts.m:3:
In file included from src/Core/PlayerEntity (contracts).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/ParticleEntity.m:40:
In file included from src/Core/ParticleEntity.h: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 @protocolsrc/Core/PlayerEntity Additions.m:750:45: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses]
int legal_index = 0 + (legal_status <= 50) ? 1 : 2;
~~~~~~~~~~~~~~~~~~~~~~~~ ^
double sin_value[450];
^
src/Core/PlayerEntity Additions.m:750:45: note: src/Core/PlanetEntity.h:116:10place parentheses around the '+' expression to silence this warning
: error: cannot declare variable inside @interface or @protocol
double *cos_value;
^
int legal_index = 0 + (legal_status <= 50) ? 1 : 2;
src/Core/PlanetEntity.h ^
( ):117:
9: error: cannot declare variable inside @interface or @protocol
src/Core/PlayerEntity Additions.m:750:45: note: place parentheses around the '?:' expression to evaluate it first
int legal_index = 0 + (legal_status <= 50) ? 1 : 2;
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/PlayerEntity_contracts.m:3:
In file included from src/Core/PlayerEntity (contracts).m:43:
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
src/Core/PlayerEntity Additions.m:774:53: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
[universe addCommsMessage:expandedMessage forCount:4.5];
~ ^~~
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]
In file included from src/Core/ParticleEntity.m- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
:40src/Core/SkyEntity.h::
In file included from 99src/Core/ParticleEntity.h::43:
In file included from 35: notesrc/Core/Universe.h:42:
In file included from : src/Core/entities.hintroduce a parameter name to make 'col1' part of the selector:51:
src/Core/SkyEntity.h:98:35:src/Core/SkyEntity.h:99: warning: 39'col1' 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 'col1' as parameter name and have an empty entry in the selector
- (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;
^
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
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/SkyEntity.h:101:40: 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
- (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
^
src/Core/SkyEntity.h:101:40:- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
note: introduce a parameter name to make 'col1' part of the selector
src/Core/SkyEntity.h:101:44: note: src/Core/SkyEntity.h:101:40or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector:
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: - (void) set_up_billboards:(OOColor *) col1:(OOColor *) col2;
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;
^
21 warnings and 6 errors generated.
src/Core/PlayerEntity Additions.m:943:11: warning: comparison of constant 'NSNotFound' (9223372036854775807) with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare]
if (type == NSNotFound)
~~~~ ^ ~~~~~~~~~~
gmake[3]: *** [/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: obj/oolite.obj/HeadUpDisplay.m.o] Error 1
In file included from src/Core/ParticleEntity.m:40:
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/PlayerEntity_contracts.m:3:
In file included from src/Core/PlayerEntity (contracts).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
- (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;
^
28 warnings and 6 errors generated.
gmake[3]: *** [/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: obj/oolite.obj/GuiDisplayGen.m.o] Error 1
25 warnings and 6 errors generated.
gmake[3]: *** [/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: obj/oolite.obj/PlayerEntity_Additions.m.o] Error 1
In file included from src/Core/PlayerEntity_contracts.m:3:
src/Core/PlayerEntity (contracts).m:652:151: warning: format specifies type 'int' but the argument has type 'NSUInteger' (aka 'unsigned long') [-Wformat]
[gui setText:[NSString stringWithFormat:@"Cash:\t%.1f Cr.\t\tLoad %d of %d t.\tPassengers %d of %d berths.", 0.1*credits, current_cargo, max_cargo, [passengers count], max_passengers] forRow: GUI_ROW_MARKET_CASH];
~~ ^~~~~~~~~~~~~~~~~~
%lu
In file included from src/Core/PlayerEntity_Controls.m:3:
In file included from src/Core/PlayerEntity (Controls).m:40:
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/PlayerEntity_Controls.m:3:
In file included from src/Core/PlayerEntity (Controls).m:40:
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/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:src/Core/PlayerEntity (contracts).m:875573:66::95: note: introduce a parameter name to make 'vi' part of the selectorwarning
: data argument not used by format string [-Wformat-extra-args]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
[gui setTitle:[NSString stringWithFormat:@"Ship's Manifest", player_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]
20 warnings and 6 errors generated.
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/PlayerEntity (contracts).m:src/Core/ShipEntity.h877:573::10764:: warningnote: : format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]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;
^
[gui setText:[NSString stringWithFormat:@"Cargo %dt (%dt):", (status == STATUS_DOCKED)? current_cargo : [cargo count], max_cargo] forRow:cargo_row - 1];
~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
%lu
src/Core/PlayerEntity (contracts).m:905:67: warning: format specifies type 'int' but the argument has type 'NSUInteger' (aka 'unsigned long') [-Wformat]
[gui setText:[NSString stringWithFormat:@"Passengers %d (%d):", [passengerManifest count], max_passengers] forRow:passenger_row - 1];
~~ ^~~~~~~~~~~~~~~~~~~~~~~~~
%lu
src/Core/PlayerEntity (contracts).m:993:151: warning: format specifies type 'int' but the argument has type 'NSUInteger' (aka 'unsigned long') [-Wformat]
[gui setText:[NSString stringWithFormat:@"Cash:\t%.1f Cr.\t\tLoad %d of %d t.\tPassengers %d of %d berths.", 0.1*credits, current_cargo, max_cargo, [passengers count], max_passengers] forRow: GUI_ROW_MARKET_CASH];
~~ ^~~~~~~~~~~~~~~~~~
%lu
gmake[3]: *** [/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: obj/oolite.obj/ParticleEntity.m.o] Error 1
src/Core/PlayerEntity (contracts).m:1053:151: warning: format specifies type 'int' but the argument has type 'NSUInteger' (aka 'unsigned long') [-Wformat]
[gui setText:[NSString stringWithFormat:@"Cash:\t%.1f Cr.\t\tLoad %d of %d t.\tPassengers %d of %d berths.", 0.1*credits, current_cargo, max_cargo, [passengers count], max_passengers] forRow: GUI_ROW_MARKET_CASH];
~~ ^~~~~~~~~~~~~~~~~~
%lu
src/Core/PlayerEntity (contracts).m:1092:46: warning: comparison of constant 'NSNotFound' (9223372036854775807) with expression of type 'int' is always true [-Wtautological-constant-out-of-range-compare]
if ([docked_station equivalent_tech_level] != NSNotFound)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
src/Core/PlayerEntity (contracts).m:1088:19: warning: implicit conversion from 'unsigned long' to 'int' changes value from 9223372036854775807 to -1 [-Wconstant-conversion]
int station_tl = NSNotFound;
~~~~~~~~~~ ^~~~~~~~~~
In file included from src/Core/PlayerEntity_Sound.m:3:
In file included from src/Core/PlayerEntity (Sound).m:9:
In file included from src/Core/PlayerEntity (Sound).h:9:
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/PlayerEntity_Sound.m:3:
In file included from src/Core/PlayerEntity (Sound).m:9:
In file included from src/Core/PlayerEntity (Sound).h:9:
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
^
28 warnings and 6 errors generated.
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]
In file included from - (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.hsrc/Core/Entity.m::39:
572src/Core/Entity.h:337:89:: 32note:: or insert whitespace before ':' to use 'vi' as parameter name and have an empty entry in the selectorwarning
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 :(ShipEntity**) hitEntity;
^
: '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;
^
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^
src/Core/ShipEntity.h:572:99src/Core/Entity.h:337::32src/Core/ShipEntity.h ::375warning:34:: 'vj' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name] warning
: note: introduce a parameter name to make 'x' part of the selector
'v0' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
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;
^
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
src/Core/ShipEntity.h:572src/Core/Entity.h::99- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities337:
: ^
44 :src/Core/ShipEntity.hnote:: 375introduce a parameter name to make 'vj' part of the selector:
34: src/Core/ShipEntity.h:572note:: 101introduce a parameter name to make 'v0' part of the selector:
notesrc/Core/ShipEntity.h:: 375or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector:
36: note: or insert whitespace before ':' to use 'v0' as parameter name and have an empty entry in the selector
- (BoundingBox) findSubentityBoundingBoxRelativeTo: (Entity*)other inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
- (GLfloat) doesHitLine:(Vector) v0: (Vector) v1 withPosition:(Vector) o andIJK:(Vector) i :(Vector) j :(Vector) k; // for subentities
^
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
warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]
src/Core/ShipEntity.h:- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z;
^573
:109: src/Core/Entity.hnote:: 337or insert whitespace before ':' to use 'vj' as parameter name and have an empty entry in the selector:
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;
^
- (BoundingBox) findSubentityBoundingBoxRelativeToPosition: (Vector)othpos inVectors: (Vector)vi: (Vector)vj: (Vector)vk;
^
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.hgmake[3]: *** [/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: obj/oolite.obj/PlayerEntity_contracts.m.o] Error 1
: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
src/Core/Entity.h:444:6: error: cannot declare variable inside @interface or @protocol
BOOL mygl_texture_2d;
^
- (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: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/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/Core/PlayerEntity_Controls.m:3:
In file included from src/Core/PlayerEntity (Controls).m:45:
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: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;
In file included from src/Core/PlayerEntity_Controls.m: ^
3:
src/Core/GuiDisplayGen.h:In file included from 182src/Core/PlayerEntity (Controls).m:45::
34: In file included from note: introduce a parameter name to make 'x' part of the selectorsrc/Core/Universe.h
:42:
In file included from src/Core/entities.hsrc/Core/GuiDisplayGen.h::51182:
:35:src/Core/SkyEntity.h note: or insert whitespace before ':' to use 'x' as parameter name and have an empty entry in the selector:
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;
^
- (void) drawStarChart:(GLfloat) x:(GLfloat) y:(GLfloat) z:(GLfloat) alpha forUniverse:(Universe*) universe;
src/Core/SkyEntity.h ^:
98:35: note: introduce a parameter name to make 'col1' part of the selector
src/Core/GuiDisplayGen.h:src/Core/SkyEntity.h:98182::39: 46note:: warning: 'y' used as the name of the previous parameter rather than as part of the selector [-Wmissing-selector-name]or insert whitespace before ':' to use 'col1' as parameter name and have an empty entry in the selector
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2;
^
- (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: src/Core/SkyEntity.hnote: or insert whitespace before ':' to use 'y' as parameter name and have an empty entry in the selector:
99:35: warning: 'col1' 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;
^
- (id) initWithColors:(OOColor *) col1:(OOColor *) col2 andSystemInfo:(NSDictionary *) systeminfo;
^
src/Core/GuiDisplayGen.hsrc/Core/SkyEntity.h:99::18235::58 :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;
^
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/PlayerEntity_Controls.m:3:
In file included from src/Core/PlayerEntity (Controls).m:45:
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/PlayerEntity_Sound.m:3:
In file included from src/Core/PlayerEntity (Sound).m:12:
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;
^
12 warnings and 1 error generated.
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/Entity.m:43:
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;
^
gmake[3]: *** [/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: obj/oolite.obj/PlayerEntity_Sound.m.o] Error 1
In file included from src/Core/PlayerEntity_Controls.m:3:
src/Core/PlayerEntity (Controls).m:185:107: warning: implicit conversion from 'double' to 'int' changes value from 1.5 to 1 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[fuel-inject-on]" forSystem:system_seed] forCount:1.5];
~ ^~~
src/Core/PlayerEntity (Controls).m:193:102: warning: implicit conversion from 'double' to 'int' changes value from 1.5 to 1 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[fuel-out]" forSystem:system_seed] forCount:1.5];
~ ^~~
src/Core/PlayerEntity (Controls).m:280:111: warning: implicit conversion from 'double' to 'int' changes value from 1.5 to 1 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[jump-mass-locked]" forSystem:system_seed] forCount:1.5];
~ ^~~
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]
src/Core/PlayerEntity (Controls).m:451:205: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
- (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
[universe addMessage:[NSString stringWithFormat:[universe expandDescription:@"[missile-locked-onto-@]" forSystem:system_seed], [(ShipEntity *)[self getPrimaryTarget] identFromShip: self]] forCount:4.5];
~ ^~~
- (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: src/Core/PlayerEntity (Controls).mnote:: 470introduce a parameter name to make 'y' part of the selector:
104:src/Core/GuiDisplayGen.h:183: 49warning: note: : implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
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;
^
[universe addMessage:[universe expandDescription:@"[mine-armed]" forSystem:system_seed] forCount:4.5];
~ ^~~
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/Core/PlayerEntity (Controls).m:606:117: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[autopilot-out-of-range]" forSystem:system_seed] forCount:4.5];
~ ^~~
src/Core/PlayerEntity (Controls).m:622:106: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[autopilot-on]" forSystem:system_seed] forCount:4.5];
~ ^~~
src/Core/PlayerEntity (Controls).m:664:106: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[autopilot-on]" forSystem:system_seed] forCount:4.5];
~ ^~~
src/Core/PlayerEntity (Controls).m:684:134: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"Target is not capable of autopilot-docking" forSystem:system_seed] forCount:4.5];
~ ^~~
src/Core/PlayerEntity (Controls).m:736:116: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[autopilot-out-of-range]" forSystem:system_seed] forCount:4.5];
~ ^~~
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: 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/Entity.m:703: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.m: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
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z
^
src/Core/Entity.m:703: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.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
- (void) setPosition:(GLfloat) x:(GLfloat) y:(GLfloat) z
^
src/Core/PlayerEntity (Controls).m:1736:27: warning: comparison of constant 'NSNotFound' (9223372036854775807) with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare]
if (displayModeIndex == NSNotFound)
~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
src/Core/PlayerEntity (Controls).m:2517:104: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[autopilot-off]" forSystem:system_seed] forCount:4.5];
~ ^~~
src/Core/Entity.m:992:43: warning: more '%' conversions than data arguments [-Wformat]
NSLog(@"ERROR no basefile for entity %@");
~^
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) {
^
32 warnings and 6 errors generated.
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) {
^
gmake[3]: *** [/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: obj/oolite.obj/PlayerEntity_Controls.m.o] Error 1
22 warnings and 6 errors generated.
gmake[3]: *** [/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: obj/oolite.obj/MyOpenGLView.m.o] Error 1
In file included from src/Core/PlayerEntity.m:40:
In file included from src/Core/PlayerEntity.h:41:
In file included from src/Core/ShipEntity.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/PlayerEntity.m:40:
In file included from src/Core/PlayerEntity.h:41:
In file included from src/Core/ShipEntity.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)
^
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)"]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25 warnings and 6 errors generated.
gmake[3]: *** [/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: obj/oolite.obj/Entity.m.o] Error 1
In file included from src/Core/PlayerEntity.m:40:
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/PlayerEntity.m:40:
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/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/PlayerEntity.m:45:
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/PlayerEntity.m:45:
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/PlayerEntity.m:45:
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/PlayerEntity.m:51:
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/PlayerEntity.m:623:21: warning: incompatible pointer types assigning to 'NSMutableArray *' from 'NSArray *' [-Wincompatible-pointer-types]
shipCommodityData = [(NSArray *)[dict objectForKey:@"shipCommodityData"] retain];
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:173:1: note: instance method 'retain' is assumed to return an instance of its receiver type ('NSArray *')
- (id) retain NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
^
src/Core/PlayerEntity.m:953:15: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use]
ship_desc = [[NSString stringWithString:PLAYER_SHIP_DESC] retain];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/Core/PlayerEntity.m:959:31: warning: 'HeadUpDisplay' may not respond to 'initWithDictionary:'
hud = [[HeadUpDisplay alloc] initWithDictionary:huddict];
~~~~~~~~~~~~~~~~~~~~~ ^
src/Core/PlayerEntity.m:1039:10: warning: using 'stringWithString:' with a literal is redundant [-Wobjc-redundant-literal-use]
name = [[NSString stringWithString:@"Player"] retain];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/Core/PlayerEntity.m:1122:20: warning: incompatible pointer types assigning to 'NSMutableArray *' from 'NSArray *' [-Wincompatible-pointer-types]
shipCommodityData = [(NSArray *)[(NSDictionary *)[ResourceManager dictionaryFromFilesNamed:@"commodities.plist" inFolder:@"Config" andMerge:YES] objectForKey:@"default"] retain];
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:173:1: note: instance method 'retain' is assumed to return an instance of its receiver type ('NSArray *')
- (id) retain NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
^
src/Core/PlayerEntity.m:1323:33: warning: 'HeadUpDisplay' may not respond to 'initWithDictionary:'
hud = [[HeadUpDisplay alloc] initWithDictionary:huddict];
~~~~~~~~~~~~~~~~~~~~~ ^
src/Core/PlayerEntity.m:1774:155: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[NSString stringWithFormat:[universe expandDescription:@"[witch-blocked-by-@]" forSystem:system_seed], [blocker name]] forCount: 4.5];
~ ^~~
src/Core/PlayerEntity.m:1789:107: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[witch-too-far]" forSystem:system_seed] forCount: 4.5];
~ ^~~
src/Core/PlayerEntity.m:1804:106: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[witch-no-fuel]" forSystem:system_seed] forCount: 4.5];
~ ^~~
src/Core/PlayerEntity.m:1925:216: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[NSString stringWithFormat:[universe expandDescription:@"[@-locked-onto-@]" forSystem:system_seed], (ident_engaged)? @"Ident system": @"Missile", [(ShipEntity *)first_target name]] forCount:4.5];
~ ^~~
src/Core/PlayerEntity.m:2164:107: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[jump-mass-locked]" forSystem:system_seed] forCount:4.5];
~ ^~~
src/Core/PlayerEntity.m:2511:19: warning: incompatible pointer types assigning to 'PlanetEntity *' from 'Entity *' [-Wincompatible-pointer-types]
nearest_planet = [uni_entities[i] retain]; // retained
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/GNUstep/System/Library/Headers/Foundation/NSObject.h:173:1: note: instance method 'retain' is assumed to return an instance of its receiver type ('Entity *')
- (id) retain NS_AUTOMATED_REFCOUNT_UNAVAILABLE;
^
src/Core/PlayerEntity.m:2860:99: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[hold-full]" forSystem:system_seed] forCount:4.5];
~ ^~~
src/Core/PlayerEntity.m:2869:106: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[incoming-missile]" forSystem:system_seed] forCount:4.5];
~ ^~~
src/Core/PlayerEntity.m:2887:106: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[autopilot-denied]" forSystem:system_seed] forCount:4.5];
~ ^~~
src/Core/PlayerEntity.m:3074:110: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[energy-bomb-activated]" forSystem:system_seed] forCount:4.5];
~ ^~~
src/Core/PlayerEntity.m:3520:104: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[universe expandDescription:@"[escape-sequence]" forSystem:system_seed] forCount:4.5];
~ ^~~
src/Core/PlayerEntity.m:3666:140: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[NSString stringWithFormat:[universe expandDescription:@"[@-destroyed]" forSystem:system_seed],cargo_desc] forCount:4.5];
~ ^~~
src/Core/PlayerEntity.m:3698:140: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[NSString stringWithFormat:[universe expandDescription:@"[@-damaged]" forSystem:system_seed],system_name] forCount:4.5];
~ ^~~
src/Core/PlayerEntity.m:3702:142: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[NSString stringWithFormat:[universe expandDescription:@"[@-destroyed]" forSystem:system_seed],system_name] forCount:4.5];
~ ^~~
src/Core/PlayerEntity.m:5023:23: warning: comparison of constant 'NSNotFound' (9223372036854775807) with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare]
if (displayModeIndex == NSNotFound)
~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
src/Core/PlayerEntity.m:5240:46: warning: comparison of constant 'NSNotFound' (9223372036854775807) with expression of type 'int' is always true [-Wtautological-constant-out-of-range-compare]
if ([docked_station equivalent_tech_level] != NSNotFound)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
src/Core/PlayerEntity.m:5823:65: warning: comparison of constant 'NSNotFound' (9223372036854775807) with expression of type 'int' is always true [-Wtautological-constant-out-of-range-compare]
if ((docked_station)&&([docked_station equivalent_tech_level] != NSNotFound))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~
src/Core/PlayerEntity.m:6343:50: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addCommsMessage:message_text forCount:4.5];
~ ^~~
src/Core/PlayerEntity.m:6351:53: warning: operator '?:' has lower precedence than '+'; '+' will be evaluated first [-Wparentheses]
int fine = 500 + ((local_gov < 2)||(local_gov > 5))? 500:0;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
src/Core/PlayerEntity.m:6351:53: note: place parentheses around the '+' expression to silence this warning
int fine = 500 + ((local_gov < 2)||(local_gov > 5))? 500:0;
^
( )
src/Core/PlayerEntity.m:6351:53: note: place parentheses around the '?:' expression to evaluate it first
int fine = 500 + ((local_gov < 2)||(local_gov > 5))? 500:0;
^
( )
src/Core/PlayerEntity.m:6466:29: warning: comparison of constant 'NSNotFound' (9223372036854775807) with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare]
for (i = 0; (trumble_index == NSNotFound)&&(i < n_trumbles); i++)
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
src/Core/PlayerEntity.m:6471:20: warning: comparison of constant 'NSNotFound' (9223372036854775807) with expression of type 'int' is always false [-Wtautological-constant-out-of-range-compare]
if (trumble_index == NSNotFound)
~~~~~~~~~~~~~ ^ ~~~~~~~~~~
src/Core/PlayerEntity.m:6464:22: warning: implicit conversion from 'unsigned long' to 'int' changes value from 9223372036854775807 to -1 [-Wconstant-conversion]
int trumble_index = NSNotFound;
~~~~~~~~~~~~~ ^~~~~~~~~~
src/Core/PlayerEntity.m:6710:220: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[NSString stringWithFormat:[universe expandDescription:@"[@-locked-onto-@]" forSystem:system_seed], (ident_engaged)? @"Ident system": @"Missile", [(ShipEntity *)potential_target name]] forCount:4.5];
~ ^~~
src/Core/PlayerEntity.m:6736:220: warning: implicit conversion from 'double' to 'int' changes value from 4.5 to 4 [-Wliteral-conversion]
[universe addMessage:[NSString stringWithFormat:[universe expandDescription:@"[@-locked-onto-@]" forSystem:system_seed], (ident_engaged)? @"Ident system": @"Missile", [(ShipEntity *)potential_target name]] forCount:4.5];
~ ^~~
51 warnings and 6 errors generated.
gmake[3]: *** [/usr/local/GNUstep/System/Library/Makefiles/rules.make:479: obj/oolite.obj/PlayerEntity.m.o] Error 1
gmake[2]: *** [/usr/local/GNUstep/System/Library/Makefiles/Instance/objc.make:64: internal-objc_program-all_] Error 2
gmake[1]: *** [/usr/local/GNUstep/System/Library/Makefiles/Master/rules.make:311: oolite.all.objc-program.variables] Error 2
gmake: *** [/usr/local/GNUstep/System/Library/Makefiles/Master/objc.make:36: 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.