Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 705393 Details for
Bug 787740
games-fps/blackshades-20070723-r1 - Source/Quaternions.cpp: error: reference to max is ambiguous
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-fps:blackshades-20070723-r1:20210502-153918.log
games-fps:blackshades-20070723-r1:20210502-153918.log (text/plain), 75.18 KB, created by
Toralf Förster
on 2021-05-02 16:44:56 UTC
(
hide
)
Description:
games-fps:blackshades-20070723-r1:20210502-153918.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2021-05-02 16:44:56 UTC
Size:
75.18 KB
patch
obsolete
> * Package: games-fps/blackshades-20070723-r1 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking Textures.tar.bz2 to /var/tmp/portage/games-fps/blackshades-20070723-r1/work >>>> Unpacking blackshades-20070723.tar.bz2 to /var/tmp/portage/games-fps/blackshades-20070723-r1/work >>>> Source unpacked in /var/tmp/portage/games-fps/blackshades-20070723-r1/work >>>> Preparing source in /var/tmp/portage/games-fps/blackshades-20070723-r1/work/blackshades ... > * Applying blackshades-datadir.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/games-fps/blackshades-20070723-r1/work/blackshades ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/games-fps/blackshades-20070723-r1/work/blackshades ... >make -j 1 bindir >mkdir -p ./objs >make -j 1 >x86_64-pc-linux-gnu-g++ -c -o objs/Camera.o Source/Camera.cpp -pipe -march=native -fno-diagnostics-color -Og -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./Source -include Source/Support.h >In file included from Source/Quaternions.h:9, > from Source/Camera.h:12, > from Source/Camera.cpp:2: >Source/Maths.h:8:35: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 8 | double fast_sqrt (register double arg); > | ^~~ >In file included from Source/Camera.h:12, > from Source/Camera.cpp:2: >Source/Quaternions.h:72:33: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 72 | float fast_sqrt (register float arg); > | ^~~ >x86_64-pc-linux-gnu-g++ -c -o objs/Decals.o Source/Decals.cpp -pipe -march=native -fno-diagnostics-color -Og -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./Source -include Source/Support.h >In file included from Source/Quaternions.h:9, > from Source/Decals.h:4, > from Source/Decals.cpp:1: >Source/Maths.h:8:35: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 8 | double fast_sqrt (register double arg); > | ^~~ >In file included from Source/Decals.h:4, > from Source/Decals.cpp:1: >Source/Quaternions.h:72:33: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 72 | float fast_sqrt (register float arg); > | ^~~ >In file included from Source/Decals.cpp:1: >Source/Decals.h: In destructor âDecals::~Decals()â: >Source/Decals.h:53:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 53 | glDeleteTextures( 1, (const GLuint *)bulletholetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Decals.h:54:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 54 | glDeleteTextures( 1, (const GLuint *)cratertextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >x86_64-pc-linux-gnu-g++ -c -o objs/Fog.o Source/Fog.cpp -pipe -march=native -fno-diagnostics-color -Og -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./Source -include Source/Support.h >In file included from Source/Quaternions.h:9, > from Source/Fog.h:11, > from Source/Fog.cpp:2: >Source/Maths.h:8:35: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 8 | double fast_sqrt (register double arg); > | ^~~ >In file included from Source/Fog.h:11, > from Source/Fog.cpp:2: >Source/Quaternions.h:72:33: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 72 | float fast_sqrt (register float arg); > | ^~~ >x86_64-pc-linux-gnu-g++ -c -o objs/Frustum.o Source/Frustum.cpp -pipe -march=native -fno-diagnostics-color -Og -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./Source -include Source/Support.h >x86_64-pc-linux-gnu-g++ -c -o objs/GameDraw.o Source/GameDraw.cpp -pipe -march=native -fno-diagnostics-color -Og -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./Source -include Source/Support.h >In file included from Source/Quaternions.h:9, > from Source/Game.h:39, > from Source/GameDraw.cpp:1: >Source/Maths.h:8:35: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 8 | double fast_sqrt (register double arg); > | ^~~ >In file included from Source/Game.h:39, > from Source/GameDraw.cpp:1: >Source/Quaternions.h:72:33: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 72 | float fast_sqrt (register float arg); > | ^~~ >In file included from Source/Game.h:44, > from Source/GameDraw.cpp:1: >Source/Text.h: In destructor âText::~Text()â: >Source/Text.h:28:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 28 | glDeleteTextures( 1, (const GLuint *)FontTexture ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from Source/Game.h:48, > from Source/GameDraw.cpp:1: >Source/Sprites.h: In destructor âSprites::~Sprites()â: >Source/Sprites.h:84:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 84 | glDeleteTextures( 1, (const GLuint *)muzzleflaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:85:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 85 | glDeleteTextures( 1, (const GLuint *)flaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:86:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 86 | glDeleteTextures( 1, (const GLuint *)bullettextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:87:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 87 | glDeleteTextures( 1, (const GLuint *)smoketextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:88:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 88 | glDeleteTextures( 1, (const GLuint *)bloodtextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:89:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 89 | glDeleteTextures( 1, (const GLuint *)raintextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:90:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 90 | glDeleteTextures( 1, (const GLuint *)snowtextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >In file included from Source/Game.h:50, > from Source/GameDraw.cpp:1: >Source/Decals.h: In destructor âDecals::~Decals()â: >Source/Decals.h:53:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 53 | glDeleteTextures( 1, (const GLuint *)bulletholetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Decals.h:54:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 54 | glDeleteTextures( 1, (const GLuint *)cratertextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >In file included from Source/GameDraw.cpp:1: >Source/Game.h: In destructor âGame::~Game()â: >Source/Game.h:223:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 223 | glDeleteTextures( 1, (const GLuint *)personspritetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:224:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 224 | glDeleteTextures( 1, (const GLuint *)deadpersonspritetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:225:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 225 | glDeleteTextures( 1, (const GLuint *)scopetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:226:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 226 | glDeleteTextures( 1, (const GLuint *)flaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameDraw.cpp: In member function âint Game::DrawGLScene()â: >Source/GameDraw.cpp:768:68: warning: narrowing conversion of â(((double)fogcolorr) * 1.6000000000000001e+0)â from âdoubleâ to âGLfloatâ {aka âfloatâ} [-Wnarrowing] > 768 | GLfloat LightDiffuse[]= { fogcolorr*1.6, fogcolorg*1.6, fogcolorr*1.6, 1.0f }; > | ~~~~~~~~~^~~~ > >Source/GameDraw.cpp:768:83: warning: narrowing conversion of â(((double)fogcolorg) * 1.6000000000000001e+0)â from âdoubleâ to âGLfloatâ {aka âfloatâ} [-Wnarrowing] > 768 | GLfloat LightDiffuse[]= { fogcolorr*1.6, fogcolorg*1.6, fogcolorr*1.6, 1.0f }; > | ~~~~~~~~~^~~~ > >Source/GameDraw.cpp:768:98: warning: narrowing conversion of â(((double)fogcolorr) * 1.6000000000000001e+0)â from âdoubleâ to âGLfloatâ {aka âfloatâ} [-Wnarrowing] > 768 | at LightDiffuse[]= { fogcolorr*1.6, fogcolorg*1.6, fogcolorr*1.6, 1.0f }; > | ~~~~~~~~~^~~~ > >Source/GameDraw.cpp:778:68: warning: narrowing conversion of â(((double)fogcolorr) * 8.0000000000000004e-1)â from âdoubleâ to âGLfloatâ {aka âfloatâ} [-Wnarrowing] > 778 | GLfloat LightAmbient[]= { fogcolorr*.8, fogcolorg*.8, fogcolorb*.8, 1.0f}; > | ~~~~~~~~~^~~ > >Source/GameDraw.cpp:778:82: warning: narrowing conversion of â(((double)fogcolorg) * 8.0000000000000004e-1)â from âdoubleâ to âGLfloatâ {aka âfloatâ} [-Wnarrowing] > 778 | GLfloat LightAmbient[]= { fogcolorr*.8, fogcolorg*.8, fogcolorb*.8, 1.0f}; > | ~~~~~~~~~^~~ > >Source/GameDraw.cpp:778:96: warning: narrowing conversion of â(((double)fogcolorb) * 8.0000000000000004e-1)â from âdoubleâ to âGLfloatâ {aka âfloatâ} [-Wnarrowing] > 778 | loat LightAmbient[]= { fogcolorr*.8, fogcolorg*.8, fogcolorb*.8, 1.0f}; > | ~~~~~~~~~^~~ > >Source/GameDraw.cpp:780:68: warning: narrowing conversion of â(((double)fogcolorr) * 8.0000000000000004e-1)â from âdoubleâ to âGLfloatâ {aka âfloatâ} [-Wnarrowing] > 780 | GLfloat LightDiffuse[]= { fogcolorr*.8, fogcolorg*.8, fogcolorr*.8, 1.0f }; > | ~~~~~~~~~^~~ > >Source/GameDraw.cpp:780:82: warning: narrowing conversion of â(((double)fogcolorg) * 8.0000000000000004e-1)â from âdoubleâ to âGLfloatâ {aka âfloatâ} [-Wnarrowing] > 780 | GLfloat LightDiffuse[]= { fogcolorr*.8, fogcolorg*.8, fogcolorr*.8, 1.0f }; > | ~~~~~~~~~^~~ > >Source/GameDraw.cpp:780:96: warning: narrowing conversion of â(((double)fogcolorr) * 8.0000000000000004e-1)â from âdoubleâ to âGLfloatâ {aka âfloatâ} [-Wnarrowing] > 780 | loat LightDiffuse[]= { fogcolorr*.8, fogcolorg*.8, fogcolorr*.8, 1.0f }; > | ~~~~~~~~~^~~ > >Source/GameDraw.cpp:812:61: warning: narrowing conversion of â(1.0000000000000001e-1 + ((double)(sinefluct / (float)5)))â from âdoubleâ to âGLfloatâ {aka âfloatâ} [-Wnarrowing] > 812 | GLfloat LightDiffuse[]= { .1+sinefluct/5, 0, 0, 1.0f }; > | ~~^~~~~~~~~~~~ >Source/GameDraw.cpp:972:21: warning: unused variable âmove2â [-Wunused-variable] > 972 | XYZ move2; > | ^~~~~ >Source/GameDraw.cpp:980:21: warning: unused variable âbeginoccludexâ [-Wunused-variable] > 980 | int beginoccludex,endoccludex; > | ^~~~~~~~~~~~~ >Source/GameDraw.cpp:980:35: warning: unused variable âendoccludexâ [-Wunused-variable] > 980 | int beginoccludex,endoccludex; > | ^~~~~~~~~~~ >Source/GameDraw.cpp:982:21: warning: unused variable âbeginoccludezâ [-Wunused-variable] > 982 | int beginoccludez,endoccludez; > | ^~~~~~~~~~~~~ >Source/GameDraw.cpp:982:35: warning: unused variable âendoccludezâ [-Wunused-variable] > 982 | int beginoccludez,endoccludez; > | ^~~~~~~~~~~ >Source/GameDraw.cpp:1012:21: warning: unused variable ânumfailâ [-Wunused-variable] > 1012 | int numfail; > | ^~~~~~~ >x86_64-pc-linux-gnu-g++ -c -o objs/GameInitDispose.o Source/GameInitDispose.cpp -pipe -march=native -fno-diagnostics-color -Og -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./Source -include Source/Support.h >In file included from Source/Quaternions.h:9, > from Source/Game.h:39, > from Source/GameInitDispose.cpp:7: >Source/Maths.h:8:35: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 8 | double fast_sqrt (register double arg); > | ^~~ >In file included from Source/Game.h:39, > from Source/GameInitDispose.cpp:7: >Source/Quaternions.h:72:33: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 72 | float fast_sqrt (register float arg); > | ^~~ >In file included from Source/Game.h:44, > from Source/GameInitDispose.cpp:7: >Source/Text.h: In destructor âText::~Text()â: >Source/Text.h:28:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 28 | glDeleteTextures( 1, (const GLuint *)FontTexture ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from Source/Game.h:48, > from Source/GameInitDispose.cpp:7: >Source/Sprites.h: In destructor âSprites::~Sprites()â: >Source/Sprites.h:84:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 84 | glDeleteTextures( 1, (const GLuint *)muzzleflaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:85:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 85 | glDeleteTextures( 1, (const GLuint *)flaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:86:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 86 | glDeleteTextures( 1, (const GLuint *)bullettextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:87:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 87 | glDeleteTextures( 1, (const GLuint *)smoketextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:88:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 88 | glDeleteTextures( 1, (const GLuint *)bloodtextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:89:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 89 | glDeleteTextures( 1, (const GLuint *)raintextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:90:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 90 | glDeleteTextures( 1, (const GLuint *)snowtextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >In file included from Source/Game.h:50, > from Source/GameInitDispose.cpp:7: >Source/Decals.h: In destructor âDecals::~Decals()â: >Source/Decals.h:53:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 53 | glDeleteTextures( 1, (const GLuint *)bulletholetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Decals.h:54:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 54 | glDeleteTextures( 1, (const GLuint *)cratertextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >In file included from Source/GameInitDispose.cpp:7: >Source/Game.h: In destructor âGame::~Game()â: >Source/Game.h:223:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 223 | glDeleteTextures( 1, (const GLuint *)personspritetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:224:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 224 | glDeleteTextures( 1, (const GLuint *)deadpersonspritetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:225:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 225 | glDeleteTextures( 1, (const GLuint *)scopetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:226:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 226 | glDeleteTextures( 1, (const GLuint *)flaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp: In function âvoid LoadSounds(bool)â: >Source/GameInitDispose.cpp:89:16: warning: unused variable âsFileNameâ [-Wunused-variable] > 89 | Str255 sFileName; > | ^~~~~~~~~ >Source/GameInitDispose.cpp:91:15: warning: unused variable âfRefNumâ [-Wunused-variable] > 91 | short fRefNum; > | ^~~~~~~ >Source/GameInitDispose.cpp:97:23: warning: unused variable âulEAXValâ [-Wunused-variable] > 97 | unsigned long ulEAXVal; > | ^~~~~~~~ >Source/GameInitDispose.cpp:99:14: warning: unused variable âlGlobalReverbâ [-Wunused-variable] > 99 | long lGlobalReverb; > | ^~~~~~~~~~~~~ >Source/GameInitDispose.cpp: In member function âvoid Game::LoadingScreen(float)â: >Source/GameInitDispose.cpp:1164:15: warning: unused variable âsizeâ [-Wunused-variable] > 1164 | float size=1; > | ^~~~ >Source/GameInitDispose.cpp: In member function âvoid Game::InitGame()â: >Source/GameInitDispose.cpp:3761:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3761 | LoadPersonSpriteTexture(":Data:Textures:Personsprite.tga",&personspritetextureptr); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3763:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3763 | LoadPersonSpriteTexture(":Data:Textures:DeadPersonsprite.tga",&deadpersonspritetextureptr); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3765:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3765 | LoadPersonSpriteTexture(":Data:Textures:Scope.tga",&scopetextureptr); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3767:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3767 | LoadPersonSpriteTexture(":Data:Textures:Flare.tga",&flaretextureptr); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3771:42: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3771 | sprites.LoadFlareTexture(":Data:Textures:HitFlash.tga"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3773:48: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3773 | sprites.LoadMuzzleFlareTexture(":Data:Textures:MuzzleFlash.tga"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3775:42: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3775 | sprites.LoadSmokeTexture(":Data:Textures:Smoke.tga"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3777:42: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3777 | sprites.LoadBloodTexture(":Data:Textures:Blood.tga"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3779:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3779 | sprites.LoadRainTexture(":Data:Textures:rain.tga"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3781:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3781 | sprites.LoadSnowTexture(":Data:Textures:snow.tga"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3783:46: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3783 | decals.LoadBulletHoleTexture(":Data:Textures:BulletHole.tga"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3785:42: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3785 | decals.LoadCraterTexture(":Data:Textures:Crater.tga"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3787:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3787 | decals.LoadBloodTexture(":Data:Textures:Blood:Blood1.tga",0); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3789:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3789 | decals.LoadBloodTexture(":Data:Textures:Blood:Blood2.tga",1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3791:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3791 | decals.LoadBloodTexture(":Data:Textures:Blood:Blood3.tga",2); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3793:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3793 | decals.LoadBloodTexture(":Data:Textures:Blood:Blood4.tga",3); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3795:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3795 | decals.LoadBloodTexture(":Data:Textures:Blood:Blood5.tga",4); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3797:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3797 | decals.LoadBloodTexture(":Data:Textures:Blood:Blood6.tga",5); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3799:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3799 | decals.LoadBloodTexture(":Data:Textures:Blood:Blood7.tga",6); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3801:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3801 | decals.LoadBloodTexture(":Data:Textures:Blood:Blood8.tga",7); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3803:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3803 | decals.LoadBloodTexture(":Data:Textures:Blood:Blood9.tga",8); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3805:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3805 | decals.LoadBloodTexture(":Data:Textures:Blood:Blood10.tga",9); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3807:41: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 3807 | decals.LoadBloodTexture(":Data:Textures:Blood:Blood11.tga",10); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameInitDispose.cpp:3865:23: warning: unused variable âswapIntâ [-Wunused-variable] > 3865 | GLint swapInt = 1; > | ^~~~~~~ >Source/GameInitDispose.cpp: In member function âint Game::InitGL()â: >Source/GameInitDispose.cpp:4203:30: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > 4203 | text.LoadFontTexture(":Data:Textures:Font.tga"); > | ^~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-g++ -c -o objs/GameLoop.o Source/GameLoop.cpp -pipe -march=native -fno-diagnostics-color -Og -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./Source -include Source/Support.h >In file included from Source/Quaternions.h:9, > from Source/Game.h:39, > from Source/GameLoop.cpp:1: >Source/Maths.h:8:35: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 8 | double fast_sqrt (register double arg); > | ^~~ >In file included from Source/Game.h:39, > from Source/GameLoop.cpp:1: >Source/Quaternions.h:72:33: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 72 | float fast_sqrt (register float arg); > | ^~~ >In file included from Source/Game.h:44, > from Source/GameLoop.cpp:1: >Source/Text.h: In destructor âText::~Text()â: >Source/Text.h:28:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 28 | glDeleteTextures( 1, (const GLuint *)FontTexture ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from Source/Game.h:48, > from Source/GameLoop.cpp:1: >Source/Sprites.h: In destructor âSprites::~Sprites()â: >Source/Sprites.h:84:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 84 | glDeleteTextures( 1, (const GLuint *)muzzleflaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:85:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 85 | glDeleteTextures( 1, (const GLuint *)flaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:86:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 86 | glDeleteTextures( 1, (const GLuint *)bullettextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:87:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 87 | glDeleteTextures( 1, (const GLuint *)smoketextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:88:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 88 | glDeleteTextures( 1, (const GLuint *)bloodtextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:89:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 89 | glDeleteTextures( 1, (const GLuint *)raintextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:90:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 90 | glDeleteTextures( 1, (const GLuint *)snowtextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >In file included from Source/Game.h:50, > from Source/GameLoop.cpp:1: >Source/Decals.h: In destructor âDecals::~Decals()â: >Source/Decals.h:53:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 53 | glDeleteTextures( 1, (const GLuint *)bulletholetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Decals.h:54:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 54 | glDeleteTextures( 1, (const GLuint *)cratertextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >In file included from Source/GameLoop.cpp:1: >Source/Game.h: In destructor âGame::~Game()â: >Source/Game.h:223:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 223 | glDeleteTextures( 1, (const GLuint *)personspritetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:224:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 224 | glDeleteTextures( 1, (const GLuint *)deadpersonspritetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:225:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 225 | glDeleteTextures( 1, (const GLuint *)scopetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:226:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 226 | glDeleteTextures( 1, (const GLuint *)flaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-g++ -c -o objs/GameTick.o Source/GameTick.cpp -pipe -march=native -fno-diagnostics-color -Og -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./Source -include Source/Support.h >In file included from Source/Quaternions.h:9, > from Source/Game.h:39, > from Source/GameTick.cpp:1: >Source/Maths.h:8:35: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 8 | double fast_sqrt (register double arg); > | ^~~ >In file included from Source/Game.h:39, > from Source/GameTick.cpp:1: >Source/Quaternions.h:72:33: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 72 | float fast_sqrt (register float arg); > | ^~~ >In file included from Source/Game.h:44, > from Source/GameTick.cpp:1: >Source/Text.h: In destructor âText::~Text()â: >Source/Text.h:28:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 28 | glDeleteTextures( 1, (const GLuint *)FontTexture ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from Source/Game.h:48, > from Source/GameTick.cpp:1: >Source/Sprites.h: In destructor âSprites::~Sprites()â: >Source/Sprites.h:84:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 84 | glDeleteTextures( 1, (const GLuint *)muzzleflaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:85:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 85 | glDeleteTextures( 1, (const GLuint *)flaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:86:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 86 | glDeleteTextures( 1, (const GLuint *)bullettextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:87:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 87 | glDeleteTextures( 1, (const GLuint *)smoketextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:88:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 88 | glDeleteTextures( 1, (const GLuint *)bloodtextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:89:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 89 | glDeleteTextures( 1, (const GLuint *)raintextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:90:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 90 | glDeleteTextures( 1, (const GLuint *)snowtextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >In file included from Source/Game.h:50, > from Source/GameTick.cpp:1: >Source/Decals.h: In destructor âDecals::~Decals()â: >Source/Decals.h:53:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 53 | glDeleteTextures( 1, (const GLuint *)bulletholetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Decals.h:54:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 54 | glDeleteTextures( 1, (const GLuint *)cratertextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >In file included from Source/GameTick.cpp:1: >Source/Game.h: In destructor âGame::~Game()â: >Source/Game.h:223:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 223 | glDeleteTextures( 1, (const GLuint *)personspritetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:224:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 224 | glDeleteTextures( 1, (const GLuint *)deadpersonspritetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:225:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 225 | glDeleteTextures( 1, (const GLuint *)scopetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:226:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 226 | glDeleteTextures( 1, (const GLuint *)flaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/GameTick.cpp: In member function âvoid Game::Tick()â: >Source/GameTick.cpp:534:39: warning: unused variable ârad2degâ [-Wunused-variable] > 534 | float rad2deg=56.54866776; > | ^~~~~~~ >Source/GameTick.cpp:917:39: warning: statement has no effect [-Wunused-value] > 917 | beginx==person[k].whichblockx; > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ >Source/GameTick.cpp:919:39: warning: statement has no effect [-Wunused-value] > 919 | beginz==person[k].whichblocky; > | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ >Source/GameTick.cpp:921:37: warning: statement has no effect [-Wunused-value] > 921 | endx==person[k].whichblockx; > | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ >Source/GameTick.cpp:923:37: warning: statement has no effect [-Wunused-value] > 923 | endz==person[k].whichblocky; > | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ >Source/GameTick.cpp:1065:33: warning: this âifâ clause does not guard... [-Wmisleading-indentation] > 1065 | if(k==0)onblockx=-1;onblocky=-1; > | ^~ >Source/GameTick.cpp:1065:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the âifâ > 1065 | if(k==0)onblockx=-1;onblocky=-1; > | ^~~~~~~~ >Source/GameTick.cpp:3751:175: warning: suggest parentheses around comparison in operand of â&â [-Wparentheses] > 3751 | hichhit].type!=zombietype&&person[whichhit].currentanimation!=getupfrontanim&person[whichhit].currentanimation!=getupbackanim){ > >Source/GameTick.cpp:4027:61: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] > 4027 | if (!dot_ta <= 0&&!dot_tb <= 0){ > | ^~ >Source/GameTick.cpp:4027:53: note: add parentheses around left hand side expression to silence this warning > 4027 | if (!dot_ta <= 0&&!dot_tb <= 0){ > | ^~~~~~~ > | ( ) >Source/GameTick.cpp:4027:75: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] > 4027 | if (!dot_ta <= 0&&!dot_tb <= 0){ > | ^~ > >Source/GameTick.cpp:4027:67: note: add parentheses around left hand side expression to silence this warning > 4027 | if (!dot_ta <= 0&&!dot_tb <= 0){ > | ^~~~~~~ > | ( ) >Source/GameTick.cpp:4093:55: warning: unused variable âoldendâ [-Wunused-variable] > 4093 | XYZ end, aim, oldend; > | ^~~~~~ >Source/GameTick.cpp:340:23: warning: unused variable âspeedâ [-Wunused-variable] > 340 | float speed=10; > | ^~~~~ >Source/GameTick.cpp:834:21: warning: unused variable âdistsquaredâ [-Wunused-variable] > 834 | int distsquared; > | ^~~~~~~~~~~ >Source/GameTick.cpp:840:23: warning: unused variable âhowmuchintersectâ [-Wunused-variable] > 840 | float howmuchintersect; > | ^~~~~~~~~~~~~~~~ >Source/GameTick.cpp:844:23: warning: unused variable âolddistâ [-Wunused-variable] > 844 | float olddist; > | ^~~~~~~ >Source/GameTick.cpp:846:21: warning: unused variable ânothingâ [-Wunused-variable] > 846 | XYZ nothing; > | ^~~~~~~ >Source/GameTick.cpp:858:21: warning: unused variable âpointrotatedâ [-Wunused-variable] > 858 | XYZ pointrotated; > | ^~~~~~~~~~~~ >Source/GameTick.cpp:4337:46: warning: unused variable âseverwhatâ [-Wunused-variable] > 4337 | int wherex,wherey,whichsound,severwhat; > | ^~~~~~~~~ >Source/GameTick.cpp:4891:23: warning: unused variable âtempIntâ [-Wunused-variable] > 4891 | ALint tempInt; > | ^~~~~~~ >Source/GameTick.cpp:4529:106: warning: âtotalareaâ may be used uninitialized in this function [-Wmaybe-uninitialized] > 4529 | totalarea+=(200/findDistancefast(DoRotation(person[j].skeleton.joints[k].position,0,person[j].playerrotation,0)+person[j].playercoords,hitstruct.hitlocation)); > | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/GameTick.cpp:4253:65: warning: âolddistanceâ may be used uninitialized in this function [-Wmaybe-uninitialized] > 4253 | if(distance<olddistance||whichhit==-1){ > | ^~ > >x86_64-pc-linux-gnu-g++ -c -o objs/Globals.o Source/Globals.cpp -pipe -march=native -fno-diagnostics-color -Og -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./Source -include Source/Support.h >In file included from Source/Quaternions.h:9, > from Source/Globals.cpp:1: >Source/Maths.h:8:35: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 8 | double fast_sqrt (register double arg); > | ^~~ >In file included from Source/Globals.cpp:1: >Source/Quaternions.h:72:33: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 72 | float fast_sqrt (register float arg); > | ^~~ >In file included from Source/Person.h:22, > from Source/Globals.cpp:4: >Source/Sprites.h: In destructor âSprites::~Sprites()â: >Source/Sprites.h:84:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 84 | glDeleteTextures( 1, (const GLuint *)muzzleflaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:85:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 85 | glDeleteTextures( 1, (const GLuint *)flaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:86:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 86 | glDeleteTextures( 1, (const GLuint *)bullettextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:87:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 87 | glDeleteTextures( 1, (const GLuint *)smoketextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:88:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 88 | glDeleteTextures( 1, (const GLuint *)bloodtextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:89:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 89 | glDeleteTextures( 1, (const GLuint *)raintextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:90:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 90 | glDeleteTextures( 1, (const GLuint *)snowtextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >In file included from Source/Game.h:44, > from Source/Globals.cpp:5: >Source/Text.h: In destructor âText::~Text()â: >Source/Text.h:28:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 28 | glDeleteTextures( 1, (const GLuint *)FontTexture ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from Source/Game.h:50, > from Source/Globals.cpp:5: >Source/Decals.h: In destructor âDecals::~Decals()â: >Source/Decals.h:53:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 53 | glDeleteTextures( 1, (const GLuint *)bulletholetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Decals.h:54:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 54 | glDeleteTextures( 1, (const GLuint *)cratertextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >In file included from Source/Globals.cpp:5: >Source/Game.h: In destructor âGame::~Game()â: >Source/Game.h:223:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 223 | glDeleteTextures( 1, (const GLuint *)personspritetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:224:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 224 | glDeleteTextures( 1, (const GLuint *)deadpersonspritetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:225:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 225 | glDeleteTextures( 1, (const GLuint *)scopetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:226:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 226 | glDeleteTextures( 1, (const GLuint *)flaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-g++ -c -o objs/MacInput.o Source/MacInput.cpp -pipe -march=native -fno-diagnostics-color -Og -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./Source -include Source/Support.h >x86_64-pc-linux-gnu-g++ -c -o objs/Main.o Source/Main.cpp -pipe -march=native -fno-diagnostics-color -Og -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./Source -include Source/Support.h >In file included from Source/Quaternions.h:9, > from Source/Game.h:39, > from Source/Main.cpp:3: >Source/Maths.h:8:35: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 8 | double fast_sqrt (register double arg); > | ^~~ >In file included from Source/Game.h:39, > from Source/Main.cpp:3: >Source/Quaternions.h:72:33: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 72 | float fast_sqrt (register float arg); > | ^~~ >In file included from Source/Game.h:44, > from Source/Main.cpp:3: >Source/Text.h: In destructor âText::~Text()â: >Source/Text.h:28:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 28 | glDeleteTextures( 1, (const GLuint *)FontTexture ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ >In file included from Source/Game.h:48, > from Source/Main.cpp:3: >Source/Sprites.h: In destructor âSprites::~Sprites()â: >Source/Sprites.h:84:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 84 | glDeleteTextures( 1, (const GLuint *)muzzleflaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:85:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 85 | glDeleteTextures( 1, (const GLuint *)flaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:86:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 86 | glDeleteTextures( 1, (const GLuint *)bullettextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:87:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 87 | glDeleteTextures( 1, (const GLuint *)smoketextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:88:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 88 | glDeleteTextures( 1, (const GLuint *)bloodtextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:89:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 89 | glDeleteTextures( 1, (const GLuint *)raintextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:90:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 90 | glDeleteTextures( 1, (const GLuint *)snowtextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >In file included from Source/Game.h:50, > from Source/Main.cpp:3: >Source/Decals.h: In destructor âDecals::~Decals()â: >Source/Decals.h:53:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 53 | glDeleteTextures( 1, (const GLuint *)bulletholetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Decals.h:54:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 54 | glDeleteTextures( 1, (const GLuint *)cratertextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >In file included from Source/Main.cpp:3: >Source/Game.h: In destructor âGame::~Game()â: >Source/Game.h:223:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 223 | glDeleteTextures( 1, (const GLuint *)personspritetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:224:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 224 | glDeleteTextures( 1, (const GLuint *)deadpersonspritetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:225:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 225 | glDeleteTextures( 1, (const GLuint *)scopetextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Game.h:226:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 226 | glDeleteTextures( 1, (const GLuint *)flaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >Source/Main.cpp: In function âint main(int, char**)â: >Source/Main.cpp:21:14: warning: ignoring return value of âint chdir(const char*)â declared with attribute âwarn_unused_resultâ [-Wunused-result] > 21 | chdir("/usr/share/blackshades"); > | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-pc-linux-gnu-g++ -c -o objs/Maths.o Source/Maths.cpp -pipe -march=native -fno-diagnostics-color -Og -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./Source -include Source/Support.h >In file included from Source/Maths.cpp:2: >Source/Maths.h:8:35: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 8 | double fast_sqrt (register double arg); > | ^~~ >Source/Maths.cpp:4:35: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 4 | double fast_sqrt (register double arg) > | ^~~ >x86_64-pc-linux-gnu-g++ -c -o objs/Models.o Source/Models.cpp -pipe -march=native -fno-diagnostics-color -Og -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./Source -include Source/Support.h >In file included from Source/Quaternions.h:9, > from Source/Models.h:8, > from Source/Models.cpp:1: >Source/Maths.h:8:35: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 8 | double fast_sqrt (register double arg); > | ^~~ >In file included from Source/Models.h:8, > from Source/Models.cpp:1: >Source/Quaternions.h:72:33: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 72 | float fast_sqrt (register float arg); > | ^~~ >Source/Models.cpp: In member function âbool Model::load(Str255)â: >Source/Models.cpp:68:41: warning: variable âerrâ set but not used [-Wunused-but-set-variable] > 68 | long err; > | ^~~ >x86_64-pc-linux-gnu-g++ -c -o objs/Person.o Source/Person.cpp -pipe -march=native -fno-diagnostics-color -Og -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./Source -include Source/Support.h >In file included from Source/Quaternions.h:9, > from Source/Person.h:17, > from Source/Person.cpp:2: >Source/Maths.h:8:35: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 8 | double fast_sqrt (register double arg); > | ^~~ >In file included from Source/Person.h:17, > from Source/Person.cpp:2: >Source/Quaternions.h:72:33: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 72 | float fast_sqrt (register float arg); > | ^~~ >In file included from Source/Person.h:22, > from Source/Person.cpp:2: >Source/Sprites.h: In destructor âSprites::~Sprites()â: >Source/Sprites.h:84:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 84 | glDeleteTextures( 1, (const GLuint *)muzzleflaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:85:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 85 | glDeleteTextures( 1, (const GLuint *)flaretextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:86:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 86 | glDeleteTextures( 1, (const GLuint *)bullettextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:87:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 87 | glDeleteTextures( 1, (const GLuint *)smoketextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:88:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 88 | glDeleteTextures( 1, (const GLuint *)bloodtextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:89:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 89 | glDeleteTextures( 1, (const GLuint *)raintextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Sprites.h:90:62: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] > 90 | glDeleteTextures( 1, (const GLuint *)snowtextureptr ); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >Source/Person.cpp: In member function âHitStruct Person::BulletCollideWithPlayer(int, XYZ, XYZ)â: >Source/Person.cpp:27:15: warning: unused variable âdamageâ [-Wunused-variable] > 27 | float damage=20; > | ^~~~~~ >Source/Person.cpp:30:13: warning: unused variable âsparkposâ [-Wunused-variable] > 30 | XYZ sparkpos; > | ^~~~~~~~ >Source/Person.cpp:33:15: warning: unused variable âhowfarâ [-Wunused-variable] > 33 | float howfar; > | ^~~~~~ >Source/Person.cpp:35:13: warning: unused variable âfacingâ [-Wunused-variable] > 35 | XYZ facing; > | ^~~~~~ >Source/Person.cpp: In member function âvoid Person::DoAnimations(int)â: >Source/Person.cpp:211:29: warning: unused variable âwhichsoundâ [-Wunused-variable] > 211 | int whichsound; > | ^~~~~~~~~~ >Source/Person.cpp:306:21: warning: unused variable âoldanimationâ [-Wunused-variable] > 306 | int oldanimation=currentanimation; > | ^~~~~~~~~~~~ >Source/Person.cpp: In member function âvoid Person::DoAnimationslite(int)â: >Source/Person.cpp:577:29: warning: unused variable âwhichsoundâ [-Wunused-variable] > 577 | int whichsound; > | ^~~~~~~~~~ >Source/Person.cpp:563:13: warning: unused variable âoldanimationâ [-Wunused-variable] > 563 | int oldanimation=currentanimation; > | ^~~~~~~~~~~~ >Source/Person.cpp: In member function âint Person::DrawSkeleton(int)â: >Source/Person.cpp:780:17: warning: unused variable âMâ [-Wunused-variable] > 780 | GLfloat M[16]; > | ^ >x86_64-pc-linux-gnu-g++ -c -o objs/Quaternions.o Source/Quaternions.cpp -pipe -march=native -fno-diagnostics-color -Og -g -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I./Source -include Source/Support.h >In file included from Source/Quaternions.h:9, > from Source/Quaternions.cpp:1: >Source/Maths.h:8:35: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 8 | double fast_sqrt (register double arg); > | ^~~ >In file included from Source/Quaternions.cpp:1: >Source/Quaternions.h:72:33: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 72 | float fast_sqrt (register float arg); > | ^~~ >Source/Quaternions.cpp:286:33: warning: ISO C++17 does not allow âregisterâ storage class specifier [-Wregister] > 286 | float fast_sqrt (register float arg) > | ^~~ >Source/Quaternions.cpp: In function âbool PointInTriangle(Vector*, Vector, float, float, float, float, float, float, float, float, float)â: >Source/Quaternions.cpp:355:9: error: reference to âmaxâ is ambiguous > 355 | max = MAX(MAX(ABS(normalv[0]), ABS(normalv[1])), ABS(normalv[2])); > | ^~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/specfun.h:45, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:1927, > from Source/Maths.h:6, > from Source/Quaternions.h:9, > from Source/Quaternions.cpp:1: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:300:5: note: candidates are: âtemplate<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)â > 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) > | ^~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:254:5: note: âtemplate<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)â > 254 | max(const _Tp& __a, const _Tp& __b) > | ^~~ >Source/Quaternions.cpp:319:14: note: âfloat maxâ > 319 | extern float max; > | ^~~ >Source/Quaternions.cpp:357:13: error: reference to âmaxâ is ambiguous > 357 | if (max == ABS(normalv[0])) {i = 1; j = 2;} // y, z > | ^~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/specfun.h:45, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:1927, > from Source/Maths.h:6, > from Source/Quaternions.h:9, > from Source/Quaternions.cpp:1: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:300:5: note: candidates are: âtemplate<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)â > 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) > | ^~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:254:5: note: âtemplate<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)â > 254 | max(const _Tp& __a, const _Tp& __b) > | ^~~ >Source/Quaternions.cpp:319:14: note: âfloat maxâ > 319 | extern float max; > | ^~~ >Source/Quaternions.cpp:358:13: error: reference to âmaxâ is ambiguous > 358 | if (max == ABS(normalv[1])) {i = 0; j = 2;} // x, z > | ^~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/specfun.h:45, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:1927, > from Source/Maths.h:6, > from Source/Quaternions.h:9, > from Source/Quaternions.cpp:1: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:300:5: note: candidates are: âtemplate<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)â > 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) > | ^~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:254:5: note: âtemplate<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)â > 254 | max(const _Tp& __a, const _Tp& __b) > | ^~~ >Source/Quaternions.cpp:319:14: note: âfloat maxâ > 319 | extern float max; > | ^~~ >Source/Quaternions.cpp:359:13: error: reference to âmaxâ is ambiguous > 359 | if (max == ABS(normalv[2])) {i = 0; j = 1;} // x, y > | ^~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/specfun.h:45, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:1927, > from Source/Maths.h:6, > from Source/Quaternions.h:9, > from Source/Quaternions.cpp:1: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:300:5: note: candidates are: âtemplate<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)â > 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) > | ^~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:254:5: note: âtemplate<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)â > 254 | max(const _Tp& __a, const _Tp& __b) > | ^~~ >Source/Quaternions.cpp:319:14: note: âfloat maxâ > 319 | extern float max; > | ^~~ >Source/Quaternions.cpp: In function âbool LineFacet(Vector, Vector, Vector, Vector, Vector, Vector*)â: >Source/Quaternions.cpp:396:10: warning: unused variable âa1â [-Wunused-variable] > 396 | float a1,a2,a3; > | ^~ >Source/Quaternions.cpp:396:13: warning: unused variable âa2â [-Wunused-variable] > 396 | float a1,a2,a3; > | ^~ >Source/Quaternions.cpp:396:16: warning: unused variable âa3â [-Wunused-variable] > 396 | float a1,a2,a3; > | ^~ >Source/Quaternions.cpp:397:10: warning: unused variable âtotalâ [-Wunused-variable] > 397 | float total,denom,mu; > | ^~~~~ >Source/Quaternions.cpp: In function âbool PointInTriangle(XYZ*, XYZ, XYZ*, XYZ*, XYZ*)â: >Source/Quaternions.cpp:450:9: error: reference to âmaxâ is ambiguous > 450 | max = MAX(MAX(ABS(normalv[0]), ABS(normalv[1])), ABS(normalv[2])); > | ^~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/specfun.h:45, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:1927, > from Source/Maths.h:6, > from Source/Quaternions.h:9, > from Source/Quaternions.cpp:1: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:300:5: note: candidates are: âtemplate<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)â > 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) > | ^~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:254:5: note: âtemplate<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)â > 254 | max(const _Tp& __a, const _Tp& __b) > | ^~~ >Source/Quaternions.cpp:319:14: note: âfloat maxâ > 319 | extern float max; > | ^~~ >Source/Quaternions.cpp:452:13: error: reference to âmaxâ is ambiguous > 452 | if (max == ABS(normalv[0])) {i = 1; j = 2;} // y, z > | ^~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/specfun.h:45, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:1927, > from Source/Maths.h:6, > from Source/Quaternions.h:9, > from Source/Quaternions.cpp:1: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:300:5: note: candidates are: âtemplate<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)â > 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) > | ^~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:254:5: note: âtemplate<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)â > 254 | max(const _Tp& __a, const _Tp& __b) > | ^~~ >Source/Quaternions.cpp:319:14: note: âfloat maxâ > 319 | extern float max; > | ^~~ >Source/Quaternions.cpp:453:13: error: reference to âmaxâ is ambiguous > 453 | if (max == ABS(normalv[1])) {i = 0; j = 2;} // x, z > | ^~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/specfun.h:45, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:1927, > from Source/Maths.h:6, > from Source/Quaternions.h:9, > from Source/Quaternions.cpp:1: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:300:5: note: candidates are: âtemplate<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)â > 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) > | ^~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:254:5: note: âtemplate<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)â > 254 | max(const _Tp& __a, const _Tp& __b) > | ^~~ >Source/Quaternions.cpp:319:14: note: âfloat maxâ > 319 | extern float max; > | ^~~ >Source/Quaternions.cpp:454:13: error: reference to âmaxâ is ambiguous > 454 | if (max == ABS(normalv[2])) {i = 0; j = 1;} // x, y > | ^~~ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/specfun.h:45, > from /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/cmath:1927, > from Source/Maths.h:6, > from Source/Quaternions.h:9, > from Source/Quaternions.cpp:1: >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:300:5: note: candidates are: âtemplate<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)â > 300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp) > | ^~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/include/g++-v11/bits/stl_algobase.h:254:5: note: âtemplate<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)â > 254 | max(const _Tp& __a, const _Tp& __b) > | ^~~ >Source/Quaternions.cpp:319:14: note: âfloat maxâ > 319 | extern float max; > | ^~~ >Source/Quaternions.cpp: In function âbool LineFacet(XYZ, XYZ, XYZ, XYZ, XYZ, XYZ*)â: >Source/Quaternions.cpp:491:10: warning: unused variable âa1â [-Wunused-variable] > 491 | float a1,a2,a3; > | ^~ >Source/Quaternions.cpp:491:13: warning: unused variable âa2â [-Wunused-variable] > 491 | float a1,a2,a3; > | ^~ >Source/Quaternions.cpp:491:16: warning: unused variable âa3â [-Wunused-variable] > 491 | float a1,a2,a3; > | ^~ >Source/Quaternions.cpp:492:10: warning: unused variable âtotalâ [-Wunused-variable] > 492 | float total,denom,mu; > | ^~~~~ >Source/Quaternions.cpp:493:10: warning: unused variable âpa1â [-Wunused-variable] > 493 | XYZ n,pa1,pa2,pa3; > | ^~~ >Source/Quaternions.cpp:493:14: warning: unused variable âpa2â [-Wunused-variable] > 493 | XYZ n,pa1,pa2,pa3; > | ^~~ >Source/Quaternions.cpp:493:18: warning: unused variable âpa3â [-Wunused-variable] > 493 | XYZ n,pa1,pa2,pa3; > | ^~~ >Source/Quaternions.cpp: In function âbool sphere_line_intersection(float, float, float, float, float, float, float, float, float, float)â: >Source/Quaternions.cpp:690:16: warning: unused variable âxâ [-Wunused-variable] > 690 | float x , y , z; > | ^ >Source/Quaternions.cpp:690:20: warning: unused variable âyâ [-Wunused-variable] > 690 | float x , y , z; > | ^ >Source/Quaternions.cpp:690:24: warning: unused variable âzâ [-Wunused-variable] > 690 | float x , y , z; > | ^ >Source/Quaternions.cpp:691:25: warning: unused variable âmuâ [-Wunused-variable] > 691 | float a, b, c, mu, i ; > | ^~ >make: *** [Makefile:56: objs/Quaternions.o] Error 1 > * ERROR: games-fps/blackshades-20070723-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=games-fps/blackshades-20070723-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-fps/blackshades-20070723-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/games-fps:blackshades-20070723-r1:20210502-153918.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-fps/blackshades-20070723-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-fps/blackshades-20070723-r1/temp/environment'. > * Working directory: '/var/tmp/portage/games-fps/blackshades-20070723-r1/work/blackshades' > * S: '/var/tmp/portage/games-fps/blackshades-20070723-r1/work/blackshades' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 787740
:
705381
|
705384
|
705387
|
705390
| 705393 |
705396