Old issue: https://crbug.com/497443 .
glmark2 waffle backend puts gl* function pointers in global scope which clang does not like with extern "C" functions in gl2.h header file.
void (*glActiveTexture) (int texture);
clang complains
a.cc:6:8: error: declaration of 'glActiveTexture' in global scope conflicts with declaration with C language linkage
void (*glActiveTexture) (int texture);
^
a.cc:3:47: note: declared with C language linkage here
__attribute__((visibility("default"))) void glActiveTexture (int texture);
Comment 1 by bugdroid1@chromium.org
, Jun 3 2017