diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-06-30 18:17:34 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-06-30 18:45:07 -0400 |
commit | 423350ec4dfba02dad9b91d5560b192cc51b8ad0 (patch) | |
tree | 2d162d21514961b2c046895c13daaab5e6b45f43 /apps/plugins/xrick/3rd_party | |
parent | 102c3742487dba76ec72d5f56a2c3041344b2d68 (diff) | |
download | rockbox-423350ec4dfba02dad9b91d5560b192cc51b8ad0.tar.gz rockbox-423350ec4dfba02dad9b91d5560b192cc51b8ad0.zip |
xrick: Fix various errors/warnings
* Piles of warnings in miniz when built with modern toolchain
* Pointer arithematic error in PRNG
* Casting between int and void * for file descriptors
* Warning on non-color targets
Remaining:
* Failure on XRGB888 LCDs due to issue with core LCD macros
* Failure on interleaved greyscale LCDs (?)
* HTML manual build failure
Change-Id: Ibf6d2c001ec8daf583731d5da15b86b5352773e7
Diffstat (limited to 'apps/plugins/xrick/3rd_party')
-rw-r--r-- | apps/plugins/xrick/3rd_party/miniz/miniz.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/xrick/3rd_party/miniz/miniz.c b/apps/plugins/xrick/3rd_party/miniz/miniz.c index 7c26f3b4ba..380c9a9502 100644 --- a/apps/plugins/xrick/3rd_party/miniz/miniz.c +++ b/apps/plugins/xrick/3rd_party/miniz/miniz.c | |||
@@ -219,6 +219,11 @@ | |||
219 | #define MINIZ_HAS_64BIT_REGISTERS 1 | 219 | #define MINIZ_HAS_64BIT_REGISTERS 1 |
220 | #endif | 220 | #endif |
221 | 221 | ||
222 | #if (__GNUC__ >= 7) | ||
223 | #pragma GCC diagnostic push | ||
224 | #pragma GCC diagnostic ignored "-Wmisleading-indentation" | ||
225 | #endif | ||
226 | |||
222 | #ifdef __cplusplus | 227 | #ifdef __cplusplus |
223 | extern "C" { | 228 | extern "C" { |
224 | #endif | 229 | #endif |