/Applications/GRASS-7.5.app/Contents/Resources/bin/clang -I/Applications/GRASS-7.5.app/Contents/Resources/include -g -O2 -fno-common -I/Applications/GRASS-7.5.app/Contents/Resources/include -I/Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include -I/Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include -I/Applications/GRASS-7.5.app/Contents/Resources/include -I/Applications/GRASS-7.5.app/Contents/Resources/include -DPACKAGE=\""grasslibs"\" -I/Applications/GRASS-7.5.app/Contents/Resources/include -I/Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include -I/Users/cmbarton/grass_source/trunk/dist.x86_64-apple-darwin17.6.0/include -DRELDIR=\"lib/nviz\" -o OBJ.x86_64-apple-darwin17.6.0/render.o -c render.c In file included from render.c:16: /Applications/GRASS-7.5.app/Contents/Resources/include/grass/nviz.h:131:5: warning: 'AGLPixelFormat' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] AGLPixelFormat pixelFmtId; ^ /System/Library/Frameworks/AGL.framework/Headers/agl.h:53:39: note: 'AGLPixelFormat' has been explicitly marked deprecated here typedef struct __AGLPixelFormatRec *AGLPixelFormat OPENGL_DEPRECATED(10_0, 10_9); ^ In file included from render.c:16: /Applications/GRASS-7.5.app/Contents/Resources/include/grass/nviz.h:132:5: warning: 'AGLContext' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] AGLContext contextId; ^ /System/Library/Frameworks/AGL.framework/Headers/agl.h:54:39: note: 'AGLContext' has been explicitly marked deprecated here typedef struct __AGLContextRec *AGLContext OPENGL_DEPRECATED(10_0, 10_9); ^ In file included from render.c:16: /Applications/GRASS-7.5.app/Contents/Resources/include/grass/nviz.h:133:5: warning: 'AGLPbuffer' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] AGLPbuffer windowId; ^ /System/Library/Frameworks/AGL.framework/Headers/agl.h:55:39: note: 'AGLPbuffer' has been explicitly marked deprecated here typedef struct __AGLPBufferRec *AGLPbuffer OPENGL_DEPRECATED(10_0, 10_9); ^ render.c:56:11: error: no member named 'width' in 'struct render_window' rwin->width = 0; ~~~~ ^ render.c:57:11: error: no member named 'height' in 'struct render_window' rwin->height = 0; ~~~~ ^ render.c:73:5: warning: 'aglDestroyPixelFormat' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] aglDestroyPixelFormat(rwin->pixelFmtId); ^ /System/Library/Frameworks/AGL.framework/Headers/agl.h:273:13: note: 'aglDestroyPixelFormat' has been explicitly marked deprecated here extern void aglDestroyPixelFormat(AGLPixelFormat pix) OPENGL_DEPRECATED(10_0, 10_9); ^ render.c:74:5: warning: 'aglDestroyContext' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] aglDestroyContext(rwin->contextId); ^ /System/Library/Frameworks/AGL.framework/Headers/agl.h:296:18: note: 'aglDestroyContext' has been explicitly marked deprecated here extern GLboolean aglDestroyContext(AGLContext ctx) OPENGL_DEPRECATED(10_0, 10_9); ^ render.c:75:5: warning: 'aglDestroyPBuffer' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] aglDestroyPBuffer(rwin->windowId); ^ /System/Library/Frameworks/AGL.framework/Headers/agl.h:401:18: note: 'aglDestroyPBuffer' has been explicitly marked deprecated here extern GLboolean aglDestroyPBuffer (AGLPbuffer pbuffer) OPENGL_DEPRECATED(10_3, 10_7); ^ render.c:143:24: warning: 'aglChoosePixelFormat' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] rwin->pixelFmtId = aglChoosePixelFormat(NULL, 0, attributeList); ^ /System/Library/Frameworks/AGL.framework/Headers/agl.h:271:23: note: 'aglChoosePixelFormat' has been explicitly marked deprecated here extern AGLPixelFormat aglChoosePixelFormat(const void *gdevs, GLint ndev, const GLint *attribs) OPENGL_DEPRECATED(10_0, 10_9); ^ render.c:145:23: warning: 'aglCreateContext' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] rwin->contextId = aglCreateContext(rwin->pixelFmtId, NULL); ^ /System/Library/Frameworks/AGL.framework/Headers/agl.h:295:19: note: 'aglCreateContext' has been explicitly marked deprecated here extern AGLContext aglCreateContext(AGLPixelFormat pix, AGLContext share) OPENGL_DEPRECATED(10_0, 10_9); ^ render.c:148:5: warning: 'aglCreatePBuffer' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] aglCreatePBuffer(width, height, GL_TEXTURE_2D, GL_RGBA, 0, &(rwin->windowId)); ^ /System/Library/Frameworks/AGL.framework/Headers/agl.h:400:18: note: 'aglCreatePBuffer' has been explicitly marked deprecated here extern GLboolean aglCreatePBuffer (GLint width, GLint height, GLenum target, GLenum internalFormat, GLint max_level, AGLPbuffer *pbuffer) OPENGL_DEPRECATED(10_3, 10_7); ^ render.c:181:11: error: no member named 'width' in 'struct render_window' rwin->width = width; ~~~~ ^ render.c:182:11: error: no member named 'height' in 'struct render_window' rwin->height = height; ~~~~ ^ render.c:209:28: warning: 'aglGetCurrentContext' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] if (rwin->contextId == aglGetCurrentContext()) ^ /System/Library/Frameworks/AGL.framework/Headers/agl.h:304:19: note: 'aglGetCurrentContext' has been explicitly marked deprecated here extern AGLContext aglGetCurrentContext(void) OPENGL_DEPRECATED(10_0, 10_9); ^ render.c:212:5: warning: 'aglSetCurrentContext' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] aglSetCurrentContext(rwin->contextId); ^ /System/Library/Frameworks/AGL.framework/Headers/agl.h:303:18: note: 'aglSetCurrentContext' has been explicitly marked deprecated here extern GLboolean aglSetCurrentContext(AGLContext ctx) OPENGL_DEPRECATED(10_0, 10_9); ^ render.c:213:5: warning: 'aglSetPBuffer' is deprecated: first deprecated in macOS 10.7 [-Wdeprecated-declarations] aglSetPBuffer(rwin->contextId, rwin->windowId, 0, 0, 0); ^ /System/Library/Frameworks/AGL.framework/Headers/agl.h:408:18: note: 'aglSetPBuffer' has been explicitly marked deprecated here extern GLboolean aglSetPBuffer (AGLContext ctx, AGLPbuffer pbuffer, GLint face, GLint level, GLint screen) OPENGL_DEPRECATED(10_3, 10_7); ^ render.c:221:30: error: no member named 'width' in 'struct render_window' GS_set_viewport(0, rwin->width, 0, rwin->height); ~~~~ ^ render.c:221:46: error: no member named 'height' in 'struct render_window' GS_set_viewport(0, rwin->width, 0, rwin->height); ~~~~ ^ 12 warnings and 6 errors generated. make: *** [OBJ.x86_64-apple-darwin17.6.0/render.o] Error 1