Files
EscapistsReintroduced/docs/evidence/bmp-interception-2026-10-03/dispatch/proposal-first.log
T
jakub 6a667d8deb Capture current mission, AI, map and administration development
Include the current addon, terrain integrations, tools, regression tests and recorded development evidence.
2026-10-13 22:52:53 +02:00

33 lines
2.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/tmp/err-policy-h34veohi/check.cpp: In function ‘int main()’:
/tmp/err-policy-h34veohi/check.cpp:519:2: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
519 | if(kind==0)f.ammo.Complete=false;if(kind==1)f.entity.footprintValid=false;if(kind==2)f.network.denied=&f.radio;if(kind==3)f.task.Vehicles[4]=&f.unused;
| ^~
/tmp/err-policy-h34veohi/check.cpp:519:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
519 | if(kind==0)f.ammo.Complete=false;if(kind==1)f.entity.footprintValid=false;if(kind==2)f.network.denied=&f.radio;if(kind==3)f.task.Vehicles[4]=&f.unused;
| ^~
/tmp/err-policy-h34veohi/check.cpp:520:2: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
520 | if(kind==4)f.unused.SupplyToken=4;if(kind==5)f.entry.LastDeliveredAt=9000;if(kind==6)f.entry.Fit--;if(kind==7)f.vehicle.Released=true;
| ^~
/tmp/err-policy-h34veohi/check.cpp:520:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
520 | if(kind==4)f.unused.SupplyToken=4;if(kind==5)f.entry.LastDeliveredAt=9000;if(kind==6)f.entry.Fit--;if(kind==7)f.vehicle.Released=true;
| ^~
cc1plus: all warnings being treated as errors
Traceback (most recent call last):
File "/tmp/erri-bmp-dispatch-1406/tests/test_hq_mounted_dispatch.py", line 27, in <module>
run(r'''
~~~^^^^^
#include <cassert>
^^^^^^^^^^^^^^^^^^
...<162 lines>...
}
^
''')
^^^^
File "/home/jakub/devel/escapistsrereintroduced/tests/policy_harness.py", line 13, in run
subprocess.run(['g++','-std=c++17','-Wall','-Werror',str(p/'check.cpp'),'-o',str(p/'check')],check=True)
~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.14/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['g++', '-std=c++17', '-Wall', '-Werror', '/tmp/err-policy-h34veohi/check.cpp', '-o', '/tmp/err-policy-h34veohi/check']' returned non-zero exit status 1.