/tmp/err-policy-7vbqv824/check.cpp: In function ‘int main()’: /tmp/err-policy-7vbqv824/check.cpp:424:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] 424 | if(bad==0)f.order.Armored=false;if(bad==1)f.order.ConfirmedLosses=5;if(bad==2)f.order.Footprint=nullptr; | ^~ /tmp/err-policy-7vbqv824/check.cpp:424:35: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 424 | if(bad==0)f.order.Armored=false;if(bad==1)f.order.ConfirmedLosses=5;if(bad==2)f.order.Footprint=nullptr; | ^~ /tmp/err-policy-7vbqv824/check.cpp:425:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] 425 | if(bad==3)f.footprint.valid=false;if(bad==4)f.footprint.root=&f.driver;if(bad==5)f.footprint.matches=false; | ^~ /tmp/err-policy-7vbqv824/check.cpp:425:37: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 425 | if(bad==3)f.footprint.valid=false;if(bad==4)f.footprint.root=&f.driver;if(bad==5)f.footprint.matches=false; | ^~ /tmp/err-policy-7vbqv824/check.cpp:426:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] 426 | if(bad==6)f.vehicle.knownPrefab=false;if(bad==7)f.vehicle.prefab.name="different BMP"; | ^~ /tmp/err-policy-7vbqv824/check.cpp:426:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 426 | if(bad==6)f.vehicle.knownPrefab=false;if(bad==7)f.vehicle.prefab.name="different BMP"; | ^~ /tmp/err-policy-7vbqv824/check.cpp:427:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] 427 | if(bad==8)f.task.Receipt->Consumed=false;if(bad==9)f.mode.ledger.record.Id=9; | ^~ /tmp/err-policy-7vbqv824/check.cpp:427:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 427 | if(bad==8)f.task.Receipt->Consumed=false;if(bad==9)f.mode.ledger.record.Id=9; | ^~ /tmp/err-policy-7vbqv824/check.cpp:428:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] 428 | if(bad==10)f.seat.occupant=nullptr;if(bad==11)f.fillers[0].SupplyHeld=true; | ^~ /tmp/err-policy-7vbqv824/check.cpp:428:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 428 | if(bad==10)f.seat.occupant=nullptr;if(bad==11)f.fillers[0].SupplyHeld=true; | ^~ /tmp/err-policy-7vbqv824/check.cpp:431:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] 431 | if(bad==0)f.order.ConfirmedLosses=7;if(bad==1)f.order.Armored=false;if(bad==2)f.order.Footprint=&replacement; | ^~ /tmp/err-policy-7vbqv824/check.cpp:431:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 431 | if(bad==0)f.order.ConfirmedLosses=7;if(bad==1)f.order.Armored=false;if(bad==2)f.order.Footprint=&replacement; | ^~ /tmp/err-policy-7vbqv824/check.cpp:432:3: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation] 432 | if(bad==3)f.footprint.matches=false;if(bad==4)f.vehicle.prefab.name="other"; | ^~ /tmp/err-policy-7vbqv824/check.cpp:432:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 432 | if(bad==3)f.footprint.matches=false;if(bad==4)f.vehicle.prefab.name="other"; | ^~ cc1plus: all warnings being treated as errors Traceback (most recent call last): File "/tmp/erri-bmp-service-1406/tests/test_convoy_intercept_pair.py", line 152, in h.run(cpp) ~~~~~^^^^^ 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-7vbqv824/check.cpp', '-o', '/tmp/err-policy-7vbqv824/check']' returned non-zero exit status 1.