cmb-shesc-imac:trunk cmbarton$ cd /Users/cmbarton/grass_source/trunk/lib/ogsf cmb-shesc-imac:ogsf cmbarton$ make /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/ogsf\" -o OBJ.x86_64-apple-darwin17.6.0/gsd_prim.o -c gsd_prim.c gsd_prim.c:165:5: warning: 'GLUquadricObj' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] GLUquadricObj *qobj = gluNewQuadric(); ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:233:27: note: 'GLUquadricObj' has been explicitly marked deprecated here typedef struct GLUquadric GLUquadricObj OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:165:27: warning: 'gluNewQuadric' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] GLUquadricObj *qobj = gluNewQuadric(); ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:267:20: note: 'gluNewQuadric' has been explicitly marked deprecated here extern GLUquadric* gluNewQuadric (void) OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:167:5: warning: 'gluQuadricDrawStyle' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] gluQuadricDrawStyle(qobj, GLU_SILHOUETTE); ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:283:13: note: 'gluQuadricDrawStyle' has been explicitly marked deprecated here extern void gluQuadricDrawStyle (GLUquadric* quad, GLenum draw) OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:170:5: warning: 'gluDisk' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] gluDisk(qobj, 0., rad, 32, 1); ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:255:13: note: 'gluDisk' has been explicitly marked deprecated here extern void gluDisk (GLUquadric* quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops) OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:172:5: warning: 'gluDeleteQuadric' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] gluDeleteQuadric(qobj); ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:253:13: note: 'gluDeleteQuadric' has been explicitly marked deprecated here extern void gluDeleteQuadric (GLUquadric* quad) OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:185:5: warning: 'GLUquadricObj' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] GLUquadricObj *qobj = gluNewQuadric(); ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:233:27: note: 'GLUquadricObj' has been explicitly marked deprecated here typedef struct GLUquadric GLUquadricObj OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:185:27: warning: 'gluNewQuadric' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] GLUquadricObj *qobj = gluNewQuadric(); ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:267:20: note: 'gluNewQuadric' has been explicitly marked deprecated here extern GLUquadric* gluNewQuadric (void) OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:187:5: warning: 'gluQuadricDrawStyle' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] gluQuadricDrawStyle(qobj, GLU_FILL); ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:283:13: note: 'gluQuadricDrawStyle' has been explicitly marked deprecated here extern void gluQuadricDrawStyle (GLUquadric* quad, GLenum draw) OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:190:5: warning: 'gluDisk' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] gluDisk(qobj, 0., rad, 32, 1); ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:255:13: note: 'gluDisk' has been explicitly marked deprecated here extern void gluDisk (GLUquadric* quad, GLdouble inner, GLdouble outer, GLint slices, GLint loops) OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:192:5: warning: 'gluDeleteQuadric' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] gluDeleteQuadric(qobj); ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:253:13: note: 'gluDeleteQuadric' has been explicitly marked deprecated here extern void gluDeleteQuadric (GLUquadric* quad) OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:206:12: warning: 'GLUquadricObj' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] static GLUquadricObj *QOsphere; ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:233:27: note: 'GLUquadricObj' has been explicitly marked deprecated here typedef struct GLUquadric GLUquadricObj OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:209:13: warning: 'gluNewQuadric' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] QOsphere = gluNewQuadric(); ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:267:20: note: 'gluNewQuadric' has been explicitly marked deprecated here extern GLUquadric* gluNewQuadric (void) OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:212:6: warning: 'gluQuadricNormals' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] gluQuadricNormals(QOsphere, GLU_SMOOTH); /* default */ ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:284:13: note: 'gluQuadricNormals' has been explicitly marked deprecated here extern void gluQuadricNormals (GLUquadric* quad, GLenum normal) OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:213:6: warning: 'gluQuadricTexture' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] gluQuadricTexture(QOsphere, GL_FALSE); /* default */ ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:286:13: note: 'gluQuadricTexture' has been explicitly marked deprecated here extern void gluQuadricTexture (GLUquadric* quad, GLboolean texture) OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:214:6: warning: 'gluQuadricOrientation' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] gluQuadricOrientation(QOsphere, GLU_OUTSIDE); /* default */ ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:285:13: note: 'gluQuadricOrientation' has been explicitly marked deprecated here extern void gluQuadricOrientation (GLUquadric* quad, GLenum orientation) OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:215:6: warning: 'gluQuadricDrawStyle' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] gluQuadricDrawStyle(QOsphere, GLU_FILL); ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:283:13: note: 'gluQuadricDrawStyle' has been explicitly marked deprecated here extern void gluQuadricDrawStyle (GLUquadric* quad, GLenum draw) OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:223:5: warning: 'gluSphere' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] gluSphere(QOsphere, (double)siz, 24, 24); ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:288:13: note: 'gluSphere' has been explicitly marked deprecated here extern void gluSphere (GLUquadric* quad, GLdouble radius, GLint slices, GLint stacks) OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:415:25: error: cannot combine with previous 'int' declaration specifier void gsd_shademodel(int bool) ^ /Applications/GRASS-7.5.app/Contents/Resources/bin/../lib/clang/4.0.1/include/stdbool.h:31:14: note: expanded from macro 'bool' #define bool _Bool ^ gsd_prim.c:415:29: error: parameter name omitted void gsd_shademodel(int bool) ^ gsd_prim.c:417:13: error: expected expression Shade = bool; ^ /Applications/GRASS-7.5.app/Contents/Resources/bin/../lib/clang/4.0.1/include/stdbool.h:31:14: note: expanded from macro 'bool' #define bool _Bool ^ gsd_prim.c:419:9: error: expected expression if (bool) { ^ /Applications/GRASS-7.5.app/Contents/Resources/bin/../lib/clang/4.0.1/include/stdbool.h:31:14: note: expanded from macro 'bool' #define bool _Bool ^ gsd_prim.c:488:5: warning: 'aglSwapBuffers' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] aglSwapBuffers(aglGetCurrentContext()); ^ /System/Library/Frameworks/AGL.framework/Headers/agl.h:356:13: note: 'aglSwapBuffers' has been explicitly marked deprecated here extern void aglSwapBuffers(AGLContext ctx) OPENGL_DEPRECATED(10_0, 10_9); ^ gsd_prim.c:488:20: warning: 'aglGetCurrentContext' is deprecated: first deprecated in macOS 10.9 [-Wdeprecated-declarations] aglSwapBuffers(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); ^ gsd_prim.c:591:5: warning: 'gluProject' is deprecated: first deprecated in macOS 10.9 - "Use GLKMathProject" [-Wdeprecated-declarations] gluProject((GLdouble) pt[X], (GLdouble) pt[Y], (GLdouble) pt[Z], ^ /System/Library/Frameworks/OpenGL.framework/Headers/glu.h:280:14: note: 'gluProject' has been explicitly marked deprecated here extern GLint gluProject (GLdouble objX, GLdouble objY, GLdouble objZ, const GLdouble *model, const GLdouble *proj, const GLint *view, GLdouble* winX, GLdouble* winY, GLdouble* winZ) OPENGL_DEPRECATED_MSG(10_0, 10_9, "Use GLKMathProject"); ^