1
0
Fork 0
forked from len0rd/rockbox
foxbox/lib
Christian Soffke 727c800c0d Don't force gcc as host compiler + fix clang warnings
On MacOS, gcc is a symlink for clang.

Patch gets rid of the warnings produced by clang,
when it is set as HOSTCC, and fixes voicetools
compilation on MacOS when calling make voicetools
from the simulator directory.

lua rb_defines_helper:
format specifies type 'int' but the argument has
type 'long'

codecs: opus / speex (LOGF):
format '%ld' expects argument of type 'long int',
but argument 7 has type 'off_t'

gigabeat:
variable 'size' set but not used

rdf2binary:
a function declaration without a prototype is
deprecated in all versions of C

rbspeexdec:
passing 'unsigned char *' to parameter of type
'char *' converts between pointers to integer
types where one is of the unique plain 'char'
type and the other is not

hmac-sha1.c
defining a type within 'offsetof' is a Clang
extension

Change-Id: I90539906698868f9589650585d865aee9f7e8539
2024-12-20 05:29:18 +01:00
..
arm_support arm: Use -masm-syntax-unified when compiling with gcc8 or newer 2024-05-08 21:45:42 -04:00
fixedpoint Undo hacks to meant to get around string formatting limitations 2017-11-21 05:01:14 -05:00
libsetjmp [1/4] Remove SH support and all archos targets 2020-07-24 21:20:13 +00:00
microtar [FIX_RED] microtar.c #2 2023-11-19 13:20:35 -05:00
mipsunwinder mips: add native backtrace implementation 2022-05-22 07:16:11 -04:00
rbcodec Don't force gcc as host compiler + fix clang warnings 2024-12-20 05:29:18 +01:00
skin_parser skin_parser add empty parser callback remove guard conditionals 2024-12-08 15:12:28 -05:00
tlsf [coverity] tlsf.c tlsf_malloc guard against empty mempool 2024-06-02 21:00:09 -04:00
unwarminder arm: Use -masm-syntax-unified when compiling with gcc8 or newer 2024-05-08 21:45:42 -04:00