raster pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=143bef348f9443e393a2cd1607643f5cf58675d5
commit 143bef348f9443e393a2cd1607643f5cf58675d5 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Thu Nov 8 14:39:11 2018 +0000 evas gl extn sym finding - warn - use void catss for no more warns so gcc now is being very picky about types. since we'r ereallyjast throwing void *'s around for pointers to funcs and looking them up by hand - use void *'s to avoid warnings. --- src/modules/evas/engines/software_generic/evas_engine.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/evas/engines/software_generic/evas_engine.c b/src/modules/evas/engines/software_generic/evas_engine.c index c8f0ce2e0b..51d24c2ca1 100644 --- a/src/modules/evas/engines/software_generic/evas_engine.c +++ b/src/modules/evas/engines/software_generic/evas_engine.c @@ -4745,7 +4745,7 @@ glue_sym_init(void) //------------------------------------------------// // Use eglGetProcAddress #define FINDSYM(dst, sym, typ) \ - if (!dst) dst = (typeof(dst))dlsym(gl_lib_handle, sym); \ + if (!dst) dst = dlsym(gl_lib_handle, sym); \ if (!dst) \ { \ ERR("Symbol not found: %s", sym); \ @@ -4783,12 +4783,12 @@ gl_sym_init(void) //------------------------------------------------// #define FINDSYM(dst, sym, typ) do { \ - if (!dst) dst = (typeof(dst))dlsym(gl_lib_handle, sym); \ - if (!dst && _sym_OSMesaGetProcAddress) dst = (typeof(dst))_sym_OSMesaGetProcAddress(sym); \ + if (!dst) dst = dlsym(gl_lib_handle, sym); \ + if (!dst && _sym_OSMesaGetProcAddress) dst = (void *)_sym_OSMesaGetProcAddress(sym); \ if (!dst) DBG("Symbol not found: %s", sym); \ } while (0) #define FALLBAK(dst, typ) do { \ - if (!dst) { dst = (typeof(dst))sym_missing; ok = EINA_FALSE; } \ + if (!dst) { dst = (void *)sym_missing; ok = EINA_FALSE; } \ } while (0) //------------------------------------------------------// --
