diff options
| author | Rye <rye@alchemyviewer.org> | 2025-08-22 03:32:02 -0400 |
|---|---|---|
| committer | Rye <rye@alchemyviewer.org> | 2025-08-22 03:32:02 -0400 |
| commit | a46d4f0f6923080d7c6e7d5267206e8c8d7a6ff9 (patch) | |
| tree | 3d482d3d5e1895d0ea339da716f7639a3427fe90 /indra/llcommon/llmd5.cpp | |
| parent | e5ccf7a2a3288569eab210e9d29aeb9dd7964880 (diff) | |
Enable deprecation warnings and suppress a small handful that have no modern replacements
Diffstat (limited to 'indra/llcommon/llmd5.cpp')
| -rw-r--r-- | indra/llcommon/llmd5.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/llcommon/llmd5.cpp b/indra/llcommon/llmd5.cpp index e999b8f597..c806c0ab2e 100644 --- a/indra/llcommon/llmd5.cpp +++ b/indra/llcommon/llmd5.cpp @@ -255,6 +255,11 @@ void LLMD5::raw_digest(unsigned char* s) const memcpy(s, digest, 16); /* Flawfinder: ignore */ } +#if LL_DARWIN +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated-declarations" +#endif + void LLMD5::hex_digest(char* s) const { if (!finalized) @@ -273,6 +278,10 @@ void LLMD5::hex_digest(char* s) const s[32] = '\0'; } +#if LL_DARWIN +#pragma clang diagnostic push +#endif + std::ostream& operator<<(std::ostream& stream, const LLMD5& context) { char s[33]; /* Flawfinder: ignore */ |
