diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-02-08 11:33:59 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-02-08 11:33:59 -0500 |
commit | ef9a7813522c247763ba53bf3e3c55943e385745 (patch) | |
tree | 106a9ef697a855930e95b71c3bdb3ea4fae6b45e /indra/newview/uk.lproj/language.txt | |
parent | 43be64733ca667f2b117b48d9a808d0e3cf2aebc (diff) |
Defend lluau::error() from platform-specific diagnostics.
macOS clang produces fatal warnings when trying to pass a const char*
parameter to luaL_error() (-Wformat-security). Temporarily suppressing that
requires #pragma clang directives which, in turn, produce fatal warnings in
VS.
Moreover, VS recognizes that luaL_error() never returns, and so diagnoses the
following return statement as unreachable code. But that return statement is
the whole reason for lluau::error()'s existence...
Diffstat (limited to 'indra/newview/uk.lproj/language.txt')
0 files changed, 0 insertions, 0 deletions