ARM Compiler Error

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 a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: ARM Compiler Error

Re: ARM Compiler Error

by _mental_ » Sun Jun 07, 2020 1:30 pm

Can you confirm that it compiles and runs now?

Re: ARM Compiler Error

by Eonfge » Sun Jun 07, 2020 1:12 pm

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

Any change we can make a new release of this soon?

Re: ARM Compiler Error

by _mental_ » Sun Jun 07, 2020 12:54 pm

Nevermind, full log contains the error message. It should be fixed with 4c3c32d.

Re: ARM Compiler Error

by Graf Zahl » Sun Jun 07, 2020 12:47 pm

More importantly, typical GCC bullshit forcing to make perfectly good code harder to read to silence them. :(

Re: ARM Compiler Error

by _mental_ » Sun Jun 07, 2020 12:44 pm

I don’t see any errors in output you posted, just two warnings.

ARM Compiler Error

by Eonfge » Sun Jun 07, 2020 12:34 pm

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.

Top