upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/queue_proxy_test.cpp
diff options
context:
space:
mode:
authorfiestorra <65175643+fiestorra@users.noreply.github.com>2026-12-01 11:49:12 +0100
committerGitHub <noreply@github.com>2026-12-01 11:49:12 +0100
commit47fa73a5664a0754507c7125fcab3e788e165bb8 (patch)
treedc48a82bd7b3421d2a19983e573e95c26130a909 /runtime/test/queue_proxy_test.cpp
parentc6c8f5f5a3770d1b5776c5435312d96032747402 (diff)
runtime: make a missing return an error, not a warning (#2748)
* runtime: make a missing return on some paths an error MSVC has two codes for a function that reaches its closing brace: C4716 whenthere is no return at all, already an error by default, and C4715 when somepaths return and others do not, which is a warning at the default warning level(measured: cl /EHsc alone reports it, /W4 is not needed). A change in this treedropped a return out; from a function with early returns, so it was C4715, andthe build stayed green. A full Release build of this commit reports none, sothe flag costs nothing today. * runtime: keep /we4715 out of the assembler command merzleckeier measured it on Windows Server 2025: add_compile_options (/we4715) puts the switch on ml64's command line too, and MASM answers 'warning A4018: invalid command-line option : /we4715' - the same reason the /utf-8 line above this one carries a COMPILE_LANGUAGE filter. Reproduced here: unfiltered, one A4018 line from abi_probe.asm; filtered, none, and the C++ half still reports error C4715 when a return is removed. --------- Co-authored-by: fiestorra <fiestorra@users.noreply.github.com>
Diffstat (limited to 'runtime/test/queue_proxy_test.cpp')
0 files changed, 0 insertions, 0 deletions