ARM Compiler Error

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
Eonfge
Posts: 32
Joined: Tue Sep 10, 2019 10:47 am
Graphics Processor: nVidia (Modern GZDoom)
Contact:

ARM Compiler Error

Post by Eonfge »

When trying to build for ARM, I get errors:

Code: Select all

src/playsim/p_acs.cpp: In member function ‘int DLevelScript::CallFunction(int, int, int32_t*)’:
src/playsim/p_acs.cpp:6302:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
 6302 |     case 4: tid2 = args[3];
      |             ~~~~~^~~~~~~~~
src/playsim/p_acs.cpp:6303:5: note: here
 6303 |     case 3: tid1 = args[2];
      |     ^~~~
src/playsim/p_acs.cpp: In member function ‘int DLevelScript::RunScript()’:
src/playsim/p_acs.cpp:8111:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
 8111 |    resultValue = STACK(1);
src/playsim/p_acs.cpp:8112:3: note: here
 8112 |   case PCD_DROP: //fall through.
      |   ^~~~
ninja: build stopped: subcommand failed.
Full stacktrace here:
https://flathub.org/builds/#/builders/2 ... logs/stdio

The build for x64 goes fine though.
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: ARM Compiler Error

Post by _mental_ »

I don’t see any errors in output you posted, just two warnings.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: ARM Compiler Error

Post by Graf Zahl »

More importantly, typical GCC bullshit forcing to make perfectly good code harder to read to silence them. :(
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: ARM Compiler Error

Post by _mental_ »

Nevermind, full log contains the error message. It should be fixed with 4c3c32d.
Eonfge
Posts: 32
Joined: Tue Sep 10, 2019 10:47 am
Graphics Processor: nVidia (Modern GZDoom)
Contact:

Re: ARM Compiler Error

Post by Eonfge »

Classic Compilers... printing the error 400 lines earlier.
Well. Good you found it.

Any change we can make a new release of this soon?
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

Re: ARM Compiler Error

Post by _mental_ »

Can you confirm that it compiles and runs now?
Post Reply

Return to “Closed Bugs [GZDoom]”