RetroArch compile errors on Mac OS X 10.8.1/10.8.2

Build environment: Mac OS X 10.8.2 Xcode version: 4.5 (4G182) (latest version for Mac OS X 10.8)

I’ve tried to build over the last few weeks with new git pulls every time but I keep running into this:

CC message.c
CC rewind.c
CC hash.c
CC compat/compat.c
CC driver.c
In file included from /opt/local/include/X11/Xlib.h:47,
                 from gfx/gfx_common.h:30,
                 from gfx/gfx_common.c:16:
/opt/local/include/X11/Xfuncproto.h:136:24: warning: ISO C does not permit named variadic macros
CC file_path.c
CC file.c
CC audio/null.c
CC gfx/gfx_common.c
CC screenshot.c
CC patch.c
CC settings.c
CC dynamic.c
CC input/null.c
CC gfx/null.c
CC movie.c
CC autosave.c
In file included from /opt/local/include/X11/Xlib.h:47,
                 from gfx/gfx_common.h:30,
                 from gfx/sdl_gfx.c:23:
/opt/local/include/X11/Xfuncproto.h:136:24: warning: ISO C does not permit named variadic macros
CC conf/config_file.c
CC command.c
gfx/sdl_gfx.c: In function ‘sdl_gfx_init’:
gfx/sdl_gfx.c:294: error: ‘SDL_SysWMinfo’ undeclared (first use in this function)
gfx/sdl_gfx.c:294: error: (Each undeclared identifier is reported only once
gfx/sdl_gfx.c:294: error: for each function it appears in.)
gfx/sdl_gfx.c:294: error: expected ‘;’ before ‘wm_info’
gfx/sdl_gfx.c:295: error: ‘wm_info’ undeclared (first use in this function)
gfx/sdl_gfx.c:296: warning: implicit declaration of function ‘SDL_GetWMInfo’
make: *** [gfx/sdl_gfx.o] Error 1
make: *** Waiting for unfinished jobs....
input/sdl_input.c: In function ‘sdl_axis_analog’:
input/sdl_input.c:245: warning: comparison is always false due to limited range of data type
CC audio/openal.c
CC fifo_buffer.c
CC audio/sdl_audio.c
CC input/sdl_input.c
CC thread.c
CC netplay.c
CC retroarch.c
audio/coreaudio.c: In function ‘coreaudio_free’:
audio/coreaudio.c:52: warning: ‘CloseComponent’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:593)
audio/coreaudio.c: In function ‘coreaudio_init’:
audio/coreaudio.c:132: warning: ‘FindNextComponent’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:471)
audio/coreaudio.c:136: warning: ‘OpenAComponent’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:561)
CC audio/coreaudio.c

This only happens with newer git pulls, 0.9.7 source compiles fine.

Thanks!

Pushed a possible fix.

It doesn’t quite finish the build, here is the output:

CC message.c
gfx/gfx_common.c:124: error: expected ‘)’ before ‘wnd’
make: *** [gfx/gfx_common.o] Error 1
make: *** Waiting for unfinished jobs....
CC rewind.c
CC hash.c
CC driver.c
CC file_path.c
CC file.c
CC dynamic.c
CC settings.c
CC retroarch.c

It should build now. Yay to Apple for completely breaking their X11 stuff. <_<

I know I haven’t posted a reply in a while, but I was never able to get it to build. Here is my current output after a clean clone of the git repository today:

Build environment: Mac OS X 10.8.2 Xcode 4.5.1 (4G1004) (latest version for Mac OS X 10.8) libsdl @1.2.15_0+x11 (as installed by MacPorts, latest version) pkgconfig @0.27.1_1+universal (as installed by MacPorts, latest version)


CC message.c
CC rewind.c
In file included from /opt/local/include/X11/Xlib.h:47,
                 from gfx/context/x11_common.h:20,
                 from driver.c:26:
/opt/local/include/X11/Xfuncproto.h:136:24: warning: ISO C does not permit named variadic macros
CC gfx/gfx_common.c
CC hash.c
CC file.c
CC input/input_common.c
CC compat/compat.c
CC audio/null.c
CC fifo_buffer.c
CC file_path.c
CC dynamic.c
CC patch.c
CC settings.c
CC gfx/null.c
CC input/null.c
CC autosave.c
CC screenshot.c
CC driver.c
CC movie.c
CC conf/config_file.c
CC gfx/scaler/scaler.c
CC audio/openal.c
CC gfx/scaler/filter.c
CC command.c
CC retroarch.c
In file included from /opt/local/include/X11/Xlib.h:47,
                 from gfx/context/x11_common.h:20,
                 from gfx/sdl_gfx.c:26:
/opt/local/include/X11/Xfuncproto.h:136:24: warning: ISO C does not permit named variadic macros
gfx/sdl_gfx.c: In function ‘sdl_gfx_set_handles’:
gfx/sdl_gfx.c:319: error: ‘SDL_SysWMinfo’ undeclared (first use in this function)
gfx/sdl_gfx.c:319: error: (Each undeclared identifier is reported only once
gfx/sdl_gfx.c:319: error: for each function it appears in.)
gfx/sdl_gfx.c:319: error: expected ‘;’ before ‘info’
gfx/sdl_gfx.c:320: error: ‘info’ undeclared (first use in this function)
gfx/sdl_gfx.c:322: warning: implicit declaration of function ‘SDL_GetWMInfo’
make: *** [gfx/sdl_gfx.o] Error 1
make: *** Waiting for unfinished jobs....
CC gfx/scaler/scaler_int.c
CC thread.c
CC gfx/scaler/pixconv.c
CC netplay.c
CC input/sdl_input.c
CC audio/sdl_audio.c
CC input/sdl_joypad.c
audio/coreaudio.c: In function ‘coreaudio_free’:
audio/coreaudio.c:52: warning: ‘CloseComponent’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:593)
audio/coreaudio.c: In function ‘coreaudio_init’:
audio/coreaudio.c:132: warning: ‘FindNextComponent’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:471)
audio/coreaudio.c:136: warning: ‘OpenAComponent’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:561)
CC audio/coreaudio.c

Thanks!

Pushed possible fix. Getting really tired of OSX shenanigans now :\ Rerun ./configure, and if it still doesn’t work, pastebin output of ./configure, config.mk and config.h.

It worked! The compile completed, here is the output if it helps at all:


CC message.c
CC gfx/gfx_common.c
CC rewind.c
CC hash.c
CC fifo_buffer.c
CC driver.c
CC file.c
CC compat/compat.c
CC input/input_common.c
CC file_path.c
CC gfx/null.c
CC patch.c
CC audio/null.c
CC input/null.c
CC autosave.c
CC dynamic.c
CC movie.c
CC settings.c
CC screenshot.c
CC conf/config_file.c
CC gfx/scaler/scaler.c
CC thread.c
CC audio/openal.c
CC gfx/scaler/scaler_int.c
CC input/sdl_input.c
CC gfx/scaler/filter.c
CC gfx/scaler/pixconv.c
CC command.c
CC gfx/sdl_gfx.c
CC gfx/gfx_context.c
CC input/sdl_joypad.c
CC netplay.c
CC retroarch.c
CC gfx/math/matrix.c
CC audio/sdl_audio.c
CC gfx/state_tracker.c
CC gfx/image.c
CC gfx/context/sdl_ctx.c
CC gfx/fonts/freetype.c
CC gfx/ext_gfx.c
CC audio/ext_audio.c
CC gfx/gl.c
CC audio/utils.c
CC audio/sinc.c
CC tools/retroarch-joyconfig.c
gfx/shader_glsl.c: In function ‘gl_glsl_init’:
gfx/shader_glsl.c:943: warning: the address of ‘glCreateProgram’ will always evaluate as ‘true’
gfx/shader_glsl.c:943: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:943: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:943: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:943: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:944: warning: the address of ‘glUseProgram’ will always evaluate as ‘true’
gfx/shader_glsl.c:944: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:944: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:944: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:944: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:945: warning: the address of ‘glCreateShader’ will always evaluate as ‘true’
gfx/shader_glsl.c:945: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:945: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:945: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:945: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:946: warning: the address of ‘glDeleteShader’ will always evaluate as ‘true’
gfx/shader_glsl.c:946: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:946: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:946: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:946: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:947: warning: the address of ‘glShaderSource’ will always evaluate as ‘true’
gfx/shader_glsl.c:947: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:947: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:947: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:947: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:948: warning: the address of ‘glCompileShader’ will always evaluate as ‘true’
gfx/shader_glsl.c:948: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:948: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:948: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:948: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:949: warning: the address of ‘glAttachShader’ will always evaluate as ‘true’
gfx/shader_glsl.c:949: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:949: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:949: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:949: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:950: warning: the address of ‘glDetachShader’ will always evaluate as ‘true’
gfx/shader_glsl.c:950: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:950: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:950: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:950: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:951: warning: the address of ‘glLinkProgram’ will always evaluate as ‘true’
gfx/shader_glsl.c:951: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:951: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:951: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:951: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:952: warning: the address of ‘glGetUniformLocation’ will always evaluate as ‘true’
gfx/shader_glsl.c:952: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:952: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:952: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:952: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:953: warning: the address of ‘glUniform1i’ will always evaluate as ‘true’
gfx/shader_glsl.c:953: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:953: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:953: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:953: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:954: warning: the address of ‘glUniform1f’ will always evaluate as ‘true’
gfx/shader_glsl.c:954: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:954: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:954: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:954: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:955: warning: the address of ‘glUniform2fv’ will always evaluate as ‘true’
gfx/shader_glsl.c:955: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:955: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:955: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:955: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:956: warning: the address of ‘glUniform4fv’ will always evaluate as ‘true’
gfx/shader_glsl.c:956: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:956: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:956: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:956: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:957: warning: the address of ‘glUniformMatrix4fv’ will always evaluate as ‘true’
gfx/shader_glsl.c:957: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:957: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:957: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:957: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:958: warning: the address of ‘glGetShaderiv’ will always evaluate as ‘true’
gfx/shader_glsl.c:958: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:958: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:958: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:958: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:959: warning: the address of ‘glGetShaderInfoLog’ will always evaluate as ‘true’
gfx/shader_glsl.c:959: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:959: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:959: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:959: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:960: warning: the address of ‘glGetProgramiv’ will always evaluate as ‘true’
gfx/shader_glsl.c:960: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:960: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:960: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:960: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:961: warning: the address of ‘glGetProgramInfoLog’ will always evaluate as ‘true’
gfx/shader_glsl.c:961: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:961: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:961: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:961: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:962: warning: the address of ‘glDeleteProgram’ will always evaluate as ‘true’
gfx/shader_glsl.c:962: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:962: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:962: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:962: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:963: warning: the address of ‘glGetAttachedShaders’ will always evaluate as ‘true’
gfx/shader_glsl.c:963: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:963: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:963: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:963: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:964: warning: the address of ‘glGetAttribLocation’ will always evaluate as ‘true’
gfx/shader_glsl.c:964: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:964: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:964: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:964: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:965: warning: the address of ‘glEnableVertexAttribArray’ will always evaluate as ‘true’
gfx/shader_glsl.c:965: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:965: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:965: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:965: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:966: warning: the address of ‘glDisableVertexAttribArray’ will always evaluate as ‘true’
gfx/shader_glsl.c:966: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:966: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:966: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:966: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:967: warning: the address of ‘glVertexAttribPointer’ will always evaluate as ‘true’
gfx/shader_glsl.c:967: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:967: warning: ISO C forbids passing argument 1 of ‘__builtin_object_size’ between function pointer and ‘void *’
gfx/shader_glsl.c:967: warning: ISO C forbids passing argument 1 of ‘__builtin___memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:967: warning: ISO C forbids passing argument 1 of ‘__inline_memcpy_chk’ between function pointer and ‘void *’
gfx/shader_glsl.c:970: warning: the address of ‘glCreateProgram’ will always evaluate as ‘true’
gfx/shader_glsl.c:970: warning: the address of ‘glUseProgram’ will always evaluate as ‘true’
gfx/shader_glsl.c:971: warning: the address of ‘glCreateShader’ will always evaluate as ‘true’
gfx/shader_glsl.c:971: warning: the address of ‘glDeleteShader’ will always evaluate as ‘true’
gfx/shader_glsl.c:971: warning: the address of ‘glShaderSource’ will always evaluate as ‘true’
gfx/shader_glsl.c:971: warning: the address of ‘glCompileShader’ will always evaluate as ‘true’
gfx/shader_glsl.c:972: warning: the address of ‘glAttachShader’ will always evaluate as ‘true’
gfx/shader_glsl.c:972: warning: the address of ‘glDetachShader’ will always evaluate as ‘true’
gfx/shader_glsl.c:972: warning: the address of ‘glLinkProgram’ will always evaluate as ‘true’
gfx/shader_glsl.c:973: warning: the address of ‘glGetUniformLocation’ will always evaluate as ‘true’
gfx/shader_glsl.c:973: warning: the address of ‘glUniform1i’ will always evaluate as ‘true’
gfx/shader_glsl.c:973: warning: the address of ‘glUniform1f’ will always evaluate as ‘true’
gfx/shader_glsl.c:973: warning: the address of ‘glUniform2fv’ will always evaluate as ‘true’
gfx/shader_glsl.c:973: warning: the address of ‘glUniform4fv’ will always evaluate as ‘true’
gfx/shader_glsl.c:974: warning: the address of ‘glUniformMatrix4fv’ will always evaluate as ‘true’
gfx/shader_glsl.c:974: warning: the address of ‘glGetShaderiv’ will always evaluate as ‘true’
gfx/shader_glsl.c:974: warning: the address of ‘glGetShaderInfoLog’ will always evaluate as ‘true’
gfx/shader_glsl.c:974: warning: the address of ‘glGetProgramiv’ will always evaluate as ‘true’
gfx/shader_glsl.c:975: warning: the address of ‘glGetProgramInfoLog’ will always evaluate as ‘true’
gfx/shader_glsl.c:975: warning: the address of ‘glDeleteProgram’ will always evaluate as ‘true’
gfx/shader_glsl.c:976: warning: the address of ‘glGetAttachedShaders’ will always evaluate as ‘true’
gfx/shader_glsl.c:976: warning: the address of ‘glGetAttribLocation’ will always evaluate as ‘true’
gfx/shader_glsl.c:976: warning: the address of ‘glEnableVertexAttribArray’ will always evaluate as ‘true’
gfx/shader_glsl.c:977: warning: the address of ‘glDisableVertexAttribArray’ will always evaluate as ‘true’
gfx/shader_glsl.c:977: warning: the address of ‘glVertexAttribPointer’ will always evaluate as ‘true’
CC gfx/fonts/fonts.c
CC cheats.c
CC gfx/shader_glsl.c
LD tools/retroarch-joyconfig
audio/coreaudio.c: In function ‘coreaudio_free’:
audio/coreaudio.c:52: warning: ‘CloseComponent’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:593)
audio/coreaudio.c: In function ‘coreaudio_init’:
audio/coreaudio.c:132: warning: ‘FindNextComponent’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:471)
audio/coreaudio.c:136: warning: ‘OpenAComponent’ is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Components.h:561)
CC audio/coreaudio.c
LD retroarch