forked from anholt/libepoxy
-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Chris Beck edited this page Oct 15, 2015
·
1 revision
Welcome to the libepoxy wiki!
Hi Yaronct,
I am creating this page because there is no issue tracker for this repository.
Sorry, I realize this is pretty unusual but as far as I know there is no way within github to simply send you a private message or something. This was the simplest way to leave a note that I can see.
If you're not interested in this bug report for whatever reason feel free to delete the page of course. And, it's not like this is actually encumbering my project, I just thought I would let you know in case you intend to continue developing this fork.
I get the following compilation failure when attempting to build. It seems to appear whenever EPOXY_BUILD_TESTS is on:
chris@chris-thinkpad ~/yaronct/libepoxy/build $ cmake -DEPOXY_BUILD_TESTS=ON -DEPOXY_BUILD_STATIC=on -DEPOXY_BUILD_SHARED=off ..
chris@chris-thinkpad ~/yaronct/libepoxy/build $ make
...
[ 31%] Building C object test/CMakeFiles/test_static_egl_different_pointers.dir/egl_and_glx_different_pointers.c.o
/home/chris/yaronct/libepoxy/test/egl_and_glx_different_pointers.c: In function ‘override_GL_glGetString’:
/home/chris/yaronct/libepoxy/test/egl_and_glx_different_pointers.c:69:5: warning: implicit declaration of function ‘typeof’ [-Wimplicit-function-declaration]
return DEFER_TO_GL("libGL.so.1", override_GL_glGetString,
^
In file included from /home/chris/yaronct/libepoxy/test/egl_and_glx_different_pointers.c:50:0:
/home/chris/yaronct/libepoxy/test/dlwrap.h:59:19: error: expected ‘;’ before ‘real_func’
typeof(&func) real_func = dlwrap_real_dlsym(lib, name); \
^
/home/chris/yaronct/libepoxy/test/egl_and_glx_different_pointers.c:69:12: note: in expansion of macro ‘DEFER_TO_GL’
return DEFER_TO_GL("libGL.so.1", override_GL_glGetString,
^
/home/chris/yaronct/libepoxy/test/dlwrap.h:59:19: warning: implicit declaration of function ‘real_func’ [-Wimplicit-function-declaration]
typeof(&func) real_func = dlwrap_real_dlsym(lib, name); \
^
/home/chris/yaronct/libepoxy/test/egl_and_glx_different_pointers.c:69:12: note: in expansion of macro ‘DEFER_TO_GL’
return DEFER_TO_GL("libGL.so.1", override_GL_glGetString,
^
/home/chris/yaronct/libepoxy/test/dlwrap.h:58:11: warning: unused variable ‘lib’ [-Wunused-variable]
void *lib = dlwrap_real_dlopen(library, RTLD_LAZY | RTLD_LOCAL); \
^
/home/chris/yaronct/libepoxy/test/egl_and_glx_different_pointers.c:69:12: note: in expansion of macro ‘DEFER_TO_GL’
return DEFER_TO_GL("libGL.so.1", override_GL_glGetString,
^
/home/chris/yaronct/libepoxy/test/egl_and_glx_different_pointers.c:69:5: warning: return makes pointer from integer without a cast
return DEFER_TO_GL("libGL.so.1", override_GL_glGetString,
^
In file included from /home/chris/yaronct/libepoxy/test/egl_and_glx_different_pointers.c:50:0:
/home/chris/yaronct/libepoxy/test/egl_and_glx_different_pointers.c: In function ‘override_GLES2_glGetString’:
/home/chris/yaronct/libepoxy/test/dlwrap.h:59:19: error: expected ‘;’ before ‘real_func’
typeof(&func) real_func = dlwrap_real_dlsym(lib, name); \
^
/home/chris/yaronct/libepoxy/test/egl_and_glx_different_pointers.c:79:12: note: in expansion of macro ‘DEFER_TO_GL’
return DEFER_TO_GL("libGLESv2.so.2", override_GLES2_glGetString,
^
/home/chris/yaronct/libepoxy/test/dlwrap.h:58:11: warning: unused variable ‘lib’ [-Wunused-variable]
void *lib = dlwrap_real_dlopen(library, RTLD_LAZY | RTLD_LOCAL); \
^
/home/chris/yaronct/libepoxy/test/egl_and_glx_different_pointers.c:79:12: note: in expansion of macro ‘DEFER_TO_GL’
return DEFER_TO_GL("libGLESv2.so.2", override_GLES2_glGetString,
^
/home/chris/yaronct/libepoxy/test/egl_and_glx_different_pointers.c:79:5: warning: return makes pointer from integer without a cast
return DEFER_TO_GL("libGLESv2.so.2", override_GLES2_glGetString,
^
make[2]: *** [test/CMakeFiles/test_static_egl_different_pointers.dir/egl_and_glx_different_pointers.c.o] Error 1
make[1]: *** [test/CMakeFiles/test_static_egl_different_pointers.dir/all] Error 2
make: *** [all] Error 2