=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for glclock-6.0b6.0nb3
--- main.o ---
--- glclock.o ---
--- GLObject.o ---
--- GLextensions.o ---
--- main.o ---
g++ -c  -I/usr/pkg/include main.cpp
--- glclock.o ---
g++ -c  -I/usr/pkg/include glclock.cpp
--- GLObject.o ---
g++ -c  -I/usr/pkg/include GLObject.cpp
--- GLextensions.o ---
g++ -c  -I/usr/pkg/include GLextensions.cpp
In file included from GLextensions.cpp:2:
In file included from ./GLextensions.H:20:
./MString.H:311:19: error: friend declaration specifying a default argument must be a definition
    friend String Mid(String s, int m, int n = 1) ;
                  ^
./MString.H:315:19: error: friend declaration specifying a default argument must be a definition
    friend String Left(const String& s, int n = 1) ;
                  ^
./MString.H:319:19: error: friend declaration specifying a default argument must be a definition
    friend String Right(const String& s, int n = 1) ;
                  ^
In file included from GLextensions.cpp:2:
./GLextensions.H:453:9: warning: 'GL_MAX_TEXTURE_UNITS' macro redefined
#define GL_MAX_TEXTURE_UNITS    DEF_GL_MAX_TEXTURE_UNITS
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:246:9: note: previous definition is here
#define GL_MAX_TEXTURE_UNITS              0x84E2
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:454:9: warning: 'GL_TEXTURE0' macro redefined
#define GL_TEXTURE0                             DEF_GL_TEXTURE0
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1755:9: note: previous definition is here
#define GL_TEXTURE0                             0x84C0
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:455:9: warning: 'GL_TEXTURE1' macro redefined
#define GL_TEXTURE1                             DEF_GL_TEXTURE1
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1756:9: note: previous definition is here
#define GL_TEXTURE1                             0x84C1
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:456:9: warning: 'GL_TEXTURE2' macro redefined
#define GL_TEXTURE2                             DEF_GL_TEXTURE2
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1757:9: note: previous definition is here
#define GL_TEXTURE2                             0x84C2
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:457:9: warning: 'GL_TEXTURE3' macro redefined
#define GL_TEXTURE3                             DEF_GL_TEXTURE3
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1758:9: note: previous definition is here
#define GL_TEXTURE3                             0x84C3
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:570:9: warning: 'GL_NORMAL_MAP' macro redefined
#define GL_NORMAL_MAP                           ((GLenum)0x8511)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:252:9: note: previous definition is here
#define GL_NORMAL_MAP                     0x8511
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:571:9: warning: 'GL_REFLECTION_MAP' macro redefined
#define GL_REFLECTION_MAP                       ((GLenum)0x8512)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:253:9: note: previous definition is here
#define GL_REFLECTION_MAP                 0x8512
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:600:9: warning: 'GL_NORMAL_MAP_EXT' macro redefined
#define GL_NORMAL_MAP_EXT                                       GL_NORMAL_MAP
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3079:9: note: previous definition is here
#define GL_NORMAL_MAP_EXT                 0x8511
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:601:9: warning: 'GL_REFLECTION_MAP_EXT' macro redefined
#define GL_REFLECTION_MAP_EXT                           GL_REFLECTION_MAP
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3080:9: note: previous definition is here
#define GL_REFLECTION_MAP_EXT             0x8512
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:603:9: warning: 'GL_TEXTURE_CUBE_MAP_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_EXT                         ((GLenum)0x8513)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3081:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_EXT           0x8513
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:604:9: warning: 'GL_TEXTURE_BINDING_CUBE_MAP_EXT' macro redefined
#define GL_TEXTURE_BINDING_CUBE_MAP_EXT         ((GLenum)0x8514)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3082:9: note: previous definition is here
#define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:606:9: warning: 'GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT      ((GLenum)0x8515)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3083:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:607:9: warning: 'GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT      ((GLenum)0x8516)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3084:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:608:9: warning: 'GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT      ((GLenum)0x8517)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3085:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:609:9: warning: 'GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT      ((GLenum)0x8518)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3086:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:610:9: warning: 'GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT      ((GLenum)0x8519)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3087:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:611:9: warning: 'GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT      ((GLenum)0x851a)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3088:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:652:9: warning: 'GL_COMPRESSED_ALPHA' macro redefined
#define GL_COMPRESSED_ALPHA                             ((GLenum)0x84E9)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:254:9: note: previous definition is here
#define GL_COMPRESSED_ALPHA               0x84E9
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:653:9: warning: 'GL_COMPRESSED_LUMINANCE' macro redefined
#define GL_COMPRESSED_LUMINANCE                 ((GLenum)0x84EA)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:255:9: note: previous definition is here
#define GL_COMPRESSED_LUMINANCE           0x84EA
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:654:9: warning: 'GL_COMPRESSED_LUMINANCE_ALPHA' macro redefined
#define GL_COMPRESSED_LUMINANCE_ALPHA   ((GLenum)0x84EB)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:256:9: note: previous definition is here
#define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:655:9: warning: 'GL_COMPRESSED_INTENSITY' macro redefined
#define GL_COMPRESSED_INTENSITY                 ((GLenum)0x84EC)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:257:9: note: previous definition is here
#define GL_COMPRESSED_INTENSITY           0x84EC
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:656:9: warning: 'GL_COMPRESSED_RGB' macro redefined
#define GL_COMPRESSED_RGB                               ((GLenum)0x84ED)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1808:9: note: previous definition is here
#define GL_COMPRESSED_RGB                       0x84ED
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:657:9: warning: 'GL_COMPRESSED_RGBA' macro redefined
#define GL_COMPRESSED_RGBA                              ((GLenum)0x84EE)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1809:9: note: previous definition is here
#define GL_COMPRESSED_RGBA                      0x84EE
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:695:9: warning: 'GL_COMPRESSED_RGB_S3TC_DXT1_EXT' macro redefined
#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT         GL_COMPRESSED_RGB_S3TC_DXT1
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3230:9: note: previous definition is here
#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:696:9: warning: 'GL_COMPRESSED_RGBA_S3TC_DXT1_EXT' macro redefined
#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT        GL_COMPRESSED_RGBA_S3TC_DXT1
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3231:9: note: previous definition is here
#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:697:9: warning: 'GL_COMPRESSED_RGBA_S3TC_DXT3_EXT' macro redefined
#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT        GL_COMPRESSED_RGBA_S3TC_DXT3
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3232:9: note: previous definition is here
#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
        ^
In file included from GLextensions.cpp:2:
./GLextensions.H:698:9: warning: 'GL_COMPRESSED_RGBA_S3TC_DXT5_EXT' macro redefined
#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT        GL_COMPRESSED_RGBA_S3TC_DXT5
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3233:9: note: previous definition is here
#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
        ^
GLextensions.cpp:185:38: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        current_MultiTextureInterfaceName = CURRENT_NAME_GL_ARB_multitexture ;
                                            ^
./GLextensions.H:473:43: note: expanded from macro 'CURRENT_NAME_GL_ARB_multitexture'
#define CURRENT_NAME_GL_ARB_multitexture                "GL_ARB_multitexture"
                                                        ^
GLextensions.cpp:702:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        current_TextureCubeMapInterfaceName = CURRENT_NAME_GL_ARB_texture_cube_map ;
                                              ^
./GLextensions.H:643:46: note: expanded from macro 'CURRENT_NAME_GL_ARB_texture_cube_map'
#define CURRENT_NAME_GL_ARB_texture_cube_map    "GL_ARB_texture_cube_map"
                                                ^
GLextensions.cpp:705:42: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        current_TexgenReflectionInterfaceName = CURRENT_NAME_GL_ARB_texture_cube_map ;
                                                ^
./GLextensions.H:643:46: note: expanded from macro 'CURRENT_NAME_GL_ARB_texture_cube_map'
#define CURRENT_NAME_GL_ARB_texture_cube_map    "GL_ARB_texture_cube_map"
                                                ^
GLextensions.cpp:733:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        current_TextureCubeMapInterfaceName = CURRENT_NAME_GL_EXT_texture_cube_map ;
                                              ^
./GLextensions.H:644:46: note: expanded from macro 'CURRENT_NAME_GL_EXT_texture_cube_map'
#define CURRENT_NAME_GL_EXT_texture_cube_map    "GL_EXT_texture_cube_map"
                                                ^
GLextensions.cpp:736:42: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        current_TexgenReflectionInterfaceName = CURRENT_NAME_GL_EXT_texture_cube_map ;
                                                ^
./GLextensions.H:644:46: note: expanded from macro 'CURRENT_NAME_GL_EXT_texture_cube_map'
#define CURRENT_NAME_GL_EXT_texture_cube_map    "GL_EXT_texture_cube_map"
                                                ^
GLextensions.cpp:765:42: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        current_TexgenReflectionInterfaceName = CURRENT_NAME_GL_NV_texgen_reflection ;
                                                ^
./GLextensions.H:645:46: note: expanded from macro 'CURRENT_NAME_GL_NV_texgen_reflection'
#define CURRENT_NAME_GL_NV_texgen_reflection    "GL_NV_texgen_reflection"
                                                ^
GLextensions.cpp:832:47: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        current_SeparateSpecularColorInterfaceName = CURRENT_NAME_GL_ARB_separate_specular_color ;
                                                     ^
./GLextensions.H:897:54: note: expanded from macro 'CURRENT_NAME_GL_ARB_separate_specular_color'
#define CURRENT_NAME_GL_ARB_separate_specular_color             "GL_ARB_separate_specular_color"
                                                                ^
GLextensions.cpp:859:47: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        current_SeparateSpecularColorInterfaceName = CURRENT_NAME_GL_EXT_separate_specular_color ;
                                                     ^
./GLextensions.H:898:54: note: expanded from macro 'CURRENT_NAME_GL_EXT_separate_specular_color'
#define CURRENT_NAME_GL_EXT_separate_specular_color             "GL_EXT_separate_specular_color"
                                                                ^
GLextensions.cpp:893:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                current_SeparateSpecularColorInterfaceName = CURRENT_NAME_GL_VERSION_separate_specular_color ;
                                                             ^
./GLextensions.H:896:57: note: expanded from macro 'CURRENT_NAME_GL_VERSION_separate_specular_color'
#define CURRENT_NAME_GL_VERSION_separate_specular_color "OpenGL-1.2 Separate Specular Color"
                                                        ^
GLextensions.cpp:936:50: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        current_TextureFilterAnisotropicInterfaceName = CURRENT_NAME_GL_EXT_texture_filter_anisotropic ;
                                                        ^
./GLextensions.H:905:57: note: expanded from macro 'CURRENT_NAME_GL_EXT_texture_filter_anisotropic'
#define CURRENT_NAME_GL_EXT_texture_filter_anisotropic          "GL_EXT_texture_filter_anisotropic"
                                                                ^
GLextensions.cpp:970:51: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                current_TextureFilterAnisotropicInterfaceName = CURRENT_NAME_GL_VERSION_texture_filter_anisotropic ;
                                                                ^
./GLextensions.H:904:60: note: expanded from macro 'CURRENT_NAME_GL_VERSION_texture_filter_anisotropic'
#define CURRENT_NAME_GL_VERSION_texture_filter_anisotropic      "OpenGL-1.? Texture Filter Anisotropic"
                                                                ^
GLextensions.cpp:1034:39: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        current_TextureObjectInterfaceName = CURRENT_NAME_GL_EXT_texture_object ;
                                             ^
./GLextensions.H:782:45: note: expanded from macro 'CURRENT_NAME_GL_EXT_texture_object'
#define CURRENT_NAME_GL_EXT_texture_object              "GL_EXT_texture_object"
                                                        ^
GLextensions.cpp:1061:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                current_TextureObjectInterfaceName = CURRENT_NAME_GL_VERSION_texture_object ;
                                                     ^
./GLextensions.H:781:48: note: expanded from macro 'CURRENT_NAME_GL_VERSION_texture_object'
#define CURRENT_NAME_GL_VERSION_texture_object  "OpenGL-1.1 Texture Object"
                                                ^
GLextensions.cpp:1119:39: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        current_PolygonOffsetInterfaceName = CURRENT_NAME_GL_EXT_polygon_offset ;
                                             ^
./GLextensions.H:818:45: note: expanded from macro 'CURRENT_NAME_GL_EXT_polygon_offset'
#define CURRENT_NAME_GL_EXT_polygon_offset              "GL_EXT_polygon_offset"
                                                        ^
GLextensions.cpp:1152:40: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                current_PolygonOffsetInterfaceName = CURRENT_NAME_GL_VERSION_polygon_offset ;
                                                     ^
./GLextensions.H:817:48: note: expanded from macro 'CURRENT_NAME_GL_VERSION_polygon_offset'
#define CURRENT_NAME_GL_VERSION_polygon_offset  "OpenGL-1.1 Polygon Offset"
                                                ^
GLextensions.cpp:1190:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        current_TextureCompressionInterfaceEnumName = CURRENT_NAME_GL_ARB_texture_compression ;
                                                      ^
./GLextensions.H:682:50: note: expanded from macro 'CURRENT_NAME_GL_ARB_texture_compression'
#define CURRENT_NAME_GL_ARB_texture_compression         "GL_ARB_texture_compression"
                                                        ^
GLextensions.cpp:1222:49: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                current_TextureCompressionInterfaceEnumName = CURRENT_NAME_GL_VERSION_texture_compression ;
                                                              ^
./GLextensions.H:681:53: note: expanded from macro 'CURRENT_NAME_GL_VERSION_texture_compression'
#define CURRENT_NAME_GL_VERSION_texture_compression     "OpenGL-1.? Texture Compression"
                                                        ^
GLextensions.cpp:1262:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        current_TextureCompressionS3TCInterfaceName = CURRENT_NAME_GL_EXT_texture_compression_s3tc ;
                                                      ^
./GLextensions.H:725:55: note: expanded from macro 'CURRENT_NAME_GL_EXT_texture_compression_s3tc'
#define CURRENT_NAME_GL_EXT_texture_compression_s3tc            "GL_EXT_texture_compression_s3tc"
                                                                ^
GLextensions.cpp:1292:49: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                current_TextureCompressionS3TCInterfaceName = CURRENT_NAME_GL_VERSION_texture_compression_s3tc ;
                                                              ^
./GLextensions.H:724:58: note: expanded from macro 'CURRENT_NAME_GL_VERSION_texture_compression_s3tc'
#define CURRENT_NAME_GL_VERSION_texture_compression_s3tc        "OpenGL-1.? Texture Compression S3TC"   // <A5><B5><A5><U+0761><BC><A5><U+0224><B5><A4><EC><A4><EB><CC><F5><A4><U+02A4><A4><A1><A9>
                                                                ^
GLextensions.cpp:1329:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        current_TextureCompressionFXT1InterfaceName = CURRENT_NAME_GL_3DFX_texture_compression_FXT1 ;
                                                      ^
./GLextensions.H:736:56: note: expanded from macro 'CURRENT_NAME_GL_3DFX_texture_compression_FXT1'
#define CURRENT_NAME_GL_3DFX_texture_compression_FXT1           "GL_3DFX_texture_compression_FXT1"
                                                                ^
GLextensions.cpp:1359:49: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
                current_TextureCompressionFXT1InterfaceName = CURRENT_NAME_GL_VERSION_texture_compression_FXT1 ;
                                                              ^
./GLextensions.H:735:58: note: expanded from macro 'CURRENT_NAME_GL_VERSION_texture_compression_FXT1'
#define CURRENT_NAME_GL_VERSION_texture_compression_FXT1        "OpenGL-1.? Texture Compression S3TC"   // <A5><B5><A5><U+0761><BC><A5><U+0224><B5><A4><EC><A4><EB><CC><F5><A4><U+02A4><A4><A1><A9>
                                                                ^
48 warnings and 3 errors generated.
*** [GLextensions.o] Error code 1

make: stopped in /scratch/time/glclock/work/glclock-6.0b6.0
--- GLObject.o ---
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
In file included from ./GLextensions.H:20:
./MString.H:311:19: error: friend declaration specifying a default argument must be a definition
    friend String Mid(String s, int m, int n = 1) ;
                  ^
./MString.H:315:19: error: friend declaration specifying a default argument must be a definition
    friend String Left(const String& s, int n = 1) ;
                  ^
./MString.H:319:19: error: friend declaration specifying a default argument must be a definition
    friend String Right(const String& s, int n = 1) ;
                  ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:453:9: warning: 'GL_MAX_TEXTURE_UNITS' macro redefined
#define GL_MAX_TEXTURE_UNITS    DEF_GL_MAX_TEXTURE_UNITS
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:246:9: note: previous definition is here
#define GL_MAX_TEXTURE_UNITS              0x84E2
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:454:9: warning: 'GL_TEXTURE0' macro redefined
#define GL_TEXTURE0                             DEF_GL_TEXTURE0
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1755:9: note: previous definition is here
#define GL_TEXTURE0                             0x84C0
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:455:9: warning: 'GL_TEXTURE1' macro redefined
#define GL_TEXTURE1                             DEF_GL_TEXTURE1
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1756:9: note: previous definition is here
#define GL_TEXTURE1                             0x84C1
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:456:9: warning: 'GL_TEXTURE2' macro redefined
#define GL_TEXTURE2                             DEF_GL_TEXTURE2
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1757:9: note: previous definition is here
#define GL_TEXTURE2                             0x84C2
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:457:9: warning: 'GL_TEXTURE3' macro redefined
#define GL_TEXTURE3                             DEF_GL_TEXTURE3
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1758:9: note: previous definition is here
#define GL_TEXTURE3                             0x84C3
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:570:9: warning: 'GL_NORMAL_MAP' macro redefined
#define GL_NORMAL_MAP                           ((GLenum)0x8511)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:252:9: note: previous definition is here
#define GL_NORMAL_MAP                     0x8511
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:571:9: warning: 'GL_REFLECTION_MAP' macro redefined
#define GL_REFLECTION_MAP                       ((GLenum)0x8512)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:253:9: note: previous definition is here
#define GL_REFLECTION_MAP                 0x8512
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:600:9: warning: 'GL_NORMAL_MAP_EXT' macro redefined
#define GL_NORMAL_MAP_EXT                                       GL_NORMAL_MAP
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3079:9: note: previous definition is here
#define GL_NORMAL_MAP_EXT                 0x8511
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:601:9: warning: 'GL_REFLECTION_MAP_EXT' macro redefined
#define GL_REFLECTION_MAP_EXT                           GL_REFLECTION_MAP
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3080:9: note: previous definition is here
#define GL_REFLECTION_MAP_EXT             0x8512
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:603:9: warning: 'GL_TEXTURE_CUBE_MAP_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_EXT                         ((GLenum)0x8513)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3081:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_EXT           0x8513
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:604:9: warning: 'GL_TEXTURE_BINDING_CUBE_MAP_EXT' macro redefined
#define GL_TEXTURE_BINDING_CUBE_MAP_EXT         ((GLenum)0x8514)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3082:9: note: previous definition is here
#define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:606:9: warning: 'GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT      ((GLenum)0x8515)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3083:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:607:9: warning: 'GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT      ((GLenum)0x8516)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3084:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:608:9: warning: 'GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT      ((GLenum)0x8517)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3085:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:609:9: warning: 'GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT      ((GLenum)0x8518)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3086:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:610:9: warning: 'GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT      ((GLenum)0x8519)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3087:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:611:9: warning: 'GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT      ((GLenum)0x851a)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3088:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:652:9: warning: 'GL_COMPRESSED_ALPHA' macro redefined
#define GL_COMPRESSED_ALPHA                             ((GLenum)0x84E9)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:254:9: note: previous definition is here
#define GL_COMPRESSED_ALPHA               0x84E9
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:653:9: warning: 'GL_COMPRESSED_LUMINANCE' macro redefined
#define GL_COMPRESSED_LUMINANCE                 ((GLenum)0x84EA)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:255:9: note: previous definition is here
#define GL_COMPRESSED_LUMINANCE           0x84EA
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:654:9: warning: 'GL_COMPRESSED_LUMINANCE_ALPHA' macro redefined
#define GL_COMPRESSED_LUMINANCE_ALPHA   ((GLenum)0x84EB)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:256:9: note: previous definition is here
#define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:655:9: warning: 'GL_COMPRESSED_INTENSITY' macro redefined
#define GL_COMPRESSED_INTENSITY                 ((GLenum)0x84EC)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:257:9: note: previous definition is here
#define GL_COMPRESSED_INTENSITY           0x84EC
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:656:9: warning: 'GL_COMPRESSED_RGB' macro redefined
#define GL_COMPRESSED_RGB                               ((GLenum)0x84ED)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1808:9: note: previous definition is here
#define GL_COMPRESSED_RGB                       0x84ED
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:657:9: warning: 'GL_COMPRESSED_RGBA' macro redefined
#define GL_COMPRESSED_RGBA                              ((GLenum)0x84EE)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1809:9: note: previous definition is here
#define GL_COMPRESSED_RGBA                      0x84EE
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:695:9: warning: 'GL_COMPRESSED_RGB_S3TC_DXT1_EXT' macro redefined
#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT         GL_COMPRESSED_RGB_S3TC_DXT1
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3230:9: note: previous definition is here
#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:696:9: warning: 'GL_COMPRESSED_RGBA_S3TC_DXT1_EXT' macro redefined
#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT        GL_COMPRESSED_RGBA_S3TC_DXT1
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3231:9: note: previous definition is here
#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:697:9: warning: 'GL_COMPRESSED_RGBA_S3TC_DXT3_EXT' macro redefined
#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT        GL_COMPRESSED_RGBA_S3TC_DXT3
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3232:9: note: previous definition is here
#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
        ^
In file included from GLObject.cpp:2:
In file included from ./GLObject.H:16:
./GLextensions.H:698:9: warning: 'GL_COMPRESSED_RGBA_S3TC_DXT5_EXT' macro redefined
#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT        GL_COMPRESSED_RGBA_S3TC_DXT5
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3233:9: note: previous definition is here
#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
        ^
--- main.o ---
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
In file included from ./GLextensions.H:20:
./MString.H:311:19: error: friend declaration specifying a default argument must be a definition
    friend String Mid(String s, int m, int n = 1) ;
                  ^
./MString.H:315:19: error: friend declaration specifying a default argument must be a definition
    friend String Left(const String& s, int n = 1) ;
                  ^
./MString.H:319:19: error: friend declaration specifying a default argument must be a definition
    friend String Right(const String& s, int n = 1) ;
                  ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:453:9: warning: 'GL_MAX_TEXTURE_UNITS' macro redefined
#define GL_MAX_TEXTURE_UNITS    DEF_GL_MAX_TEXTURE_UNITS
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:246:9: note: previous definition is here
#define GL_MAX_TEXTURE_UNITS              0x84E2
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:454:9: warning: 'GL_TEXTURE0' macro redefined
#define GL_TEXTURE0                             DEF_GL_TEXTURE0
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1755:9: note: previous definition is here
#define GL_TEXTURE0                             0x84C0
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:455:9: warning: 'GL_TEXTURE1' macro redefined
#define GL_TEXTURE1                             DEF_GL_TEXTURE1
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1756:9: note: previous definition is here
#define GL_TEXTURE1                             0x84C1
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:456:9: warning: 'GL_TEXTURE2' macro redefined
#define GL_TEXTURE2                             DEF_GL_TEXTURE2
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1757:9: note: previous definition is here
#define GL_TEXTURE2                             0x84C2
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:457:9: warning: 'GL_TEXTURE3' macro redefined
#define GL_TEXTURE3                             DEF_GL_TEXTURE3
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1758:9: note: previous definition is here
#define GL_TEXTURE3                             0x84C3
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:570:9: warning: 'GL_NORMAL_MAP' macro redefined
#define GL_NORMAL_MAP                           ((GLenum)0x8511)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:252:9: note: previous definition is here
#define GL_NORMAL_MAP                     0x8511
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:571:9: warning: 'GL_REFLECTION_MAP' macro redefined
#define GL_REFLECTION_MAP                       ((GLenum)0x8512)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:253:9: note: previous definition is here
#define GL_REFLECTION_MAP                 0x8512
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:600:9: warning: 'GL_NORMAL_MAP_EXT' macro redefined
#define GL_NORMAL_MAP_EXT                                       GL_NORMAL_MAP
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3079:9: note: previous definition is here
#define GL_NORMAL_MAP_EXT                 0x8511
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:601:9: warning: 'GL_REFLECTION_MAP_EXT' macro redefined
#define GL_REFLECTION_MAP_EXT                           GL_REFLECTION_MAP
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3080:9: note: previous definition is here
#define GL_REFLECTION_MAP_EXT             0x8512
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:603:9: warning: 'GL_TEXTURE_CUBE_MAP_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_EXT                         ((GLenum)0x8513)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3081:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_EXT           0x8513
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:604:9: warning: 'GL_TEXTURE_BINDING_CUBE_MAP_EXT' macro redefined
#define GL_TEXTURE_BINDING_CUBE_MAP_EXT         ((GLenum)0x8514)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3082:9: note: previous definition is here
#define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:606:9: warning: 'GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT      ((GLenum)0x8515)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3083:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:607:9: warning: 'GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT      ((GLenum)0x8516)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3084:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:608:9: warning: 'GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT      ((GLenum)0x8517)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3085:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:609:9: warning: 'GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT      ((GLenum)0x8518)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3086:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:610:9: warning: 'GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT      ((GLenum)0x8519)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3087:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:611:9: warning: 'GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT      ((GLenum)0x851a)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3088:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:652:9: warning: 'GL_COMPRESSED_ALPHA' macro redefined
#define GL_COMPRESSED_ALPHA                             ((GLenum)0x84E9)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:254:9: note: previous definition is here
#define GL_COMPRESSED_ALPHA               0x84E9
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:653:9: warning: 'GL_COMPRESSED_LUMINANCE' macro redefined
#define GL_COMPRESSED_LUMINANCE                 ((GLenum)0x84EA)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:255:9: note: previous definition is here
#define GL_COMPRESSED_LUMINANCE           0x84EA
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:654:9: warning: 'GL_COMPRESSED_LUMINANCE_ALPHA' macro redefined
#define GL_COMPRESSED_LUMINANCE_ALPHA   ((GLenum)0x84EB)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:256:9: note: previous definition is here
#define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:655:9: warning: 'GL_COMPRESSED_INTENSITY' macro redefined
#define GL_COMPRESSED_INTENSITY                 ((GLenum)0x84EC)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:257:9: note: previous definition is here
#define GL_COMPRESSED_INTENSITY           0x84EC
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:656:9: warning: 'GL_COMPRESSED_RGB' macro redefined
#define GL_COMPRESSED_RGB                               ((GLenum)0x84ED)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1808:9: note: previous definition is here
#define GL_COMPRESSED_RGB                       0x84ED
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:657:9: warning: 'GL_COMPRESSED_RGBA' macro redefined
#define GL_COMPRESSED_RGBA                              ((GLenum)0x84EE)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1809:9: note: previous definition is here
#define GL_COMPRESSED_RGBA                      0x84EE
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:695:9: warning: 'GL_COMPRESSED_RGB_S3TC_DXT1_EXT' macro redefined
#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT         GL_COMPRESSED_RGB_S3TC_DXT1
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3230:9: note: previous definition is here
#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:696:9: warning: 'GL_COMPRESSED_RGBA_S3TC_DXT1_EXT' macro redefined
#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT        GL_COMPRESSED_RGBA_S3TC_DXT1
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3231:9: note: previous definition is here
#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:697:9: warning: 'GL_COMPRESSED_RGBA_S3TC_DXT3_EXT' macro redefined
#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT        GL_COMPRESSED_RGBA_S3TC_DXT3
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3232:9: note: previous definition is here
#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:698:9: warning: 'GL_COMPRESSED_RGBA_S3TC_DXT5_EXT' macro redefined
#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT        GL_COMPRESSED_RGBA_S3TC_DXT5
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3233:9: note: previous definition is here
#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
        ^
27 warnings and 3 errors generated.
--- GLObject.o ---
27 warnings and 3 errors generated.
--- main.o ---
*** [main.o] Error code 1

make: stopped in /scratch/time/glclock/work/glclock-6.0b6.0
--- glclock.o ---
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
In file included from ./GLextensions.H:20:
./MString.H:311:19: error: friend declaration specifying a default argument must be a definition
    friend String Mid(String s, int m, int n = 1) ;
                  ^
./MString.H:315:19: error: friend declaration specifying a default argument must be a definition
    friend String Left(const String& s, int n = 1) ;
                  ^
./MString.H:319:19: error: friend declaration specifying a default argument must be a definition
    friend String Right(const String& s, int n = 1) ;
                  ^
--- GLObject.o ---
*** [GLObject.o] Error code 1

make: stopped in /scratch/time/glclock/work/glclock-6.0b6.0
--- glclock.o ---
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:453:9: warning: 'GL_MAX_TEXTURE_UNITS' macro redefined
#define GL_MAX_TEXTURE_UNITS    DEF_GL_MAX_TEXTURE_UNITS
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:246:9: note: previous definition is here
#define GL_MAX_TEXTURE_UNITS              0x84E2
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:454:9: warning: 'GL_TEXTURE0' macro redefined
#define GL_TEXTURE0                             DEF_GL_TEXTURE0
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1755:9: note: previous definition is here
#define GL_TEXTURE0                             0x84C0
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:455:9: warning: 'GL_TEXTURE1' macro redefined
#define GL_TEXTURE1                             DEF_GL_TEXTURE1
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1756:9: note: previous definition is here
#define GL_TEXTURE1                             0x84C1
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:456:9: warning: 'GL_TEXTURE2' macro redefined
#define GL_TEXTURE2                             DEF_GL_TEXTURE2
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1757:9: note: previous definition is here
#define GL_TEXTURE2                             0x84C2
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:457:9: warning: 'GL_TEXTURE3' macro redefined
#define GL_TEXTURE3                             DEF_GL_TEXTURE3
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1758:9: note: previous definition is here
#define GL_TEXTURE3                             0x84C3
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:570:9: warning: 'GL_NORMAL_MAP' macro redefined
#define GL_NORMAL_MAP                           ((GLenum)0x8511)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:252:9: note: previous definition is here
#define GL_NORMAL_MAP                     0x8511
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:571:9: warning: 'GL_REFLECTION_MAP' macro redefined
#define GL_REFLECTION_MAP                       ((GLenum)0x8512)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:253:9: note: previous definition is here
#define GL_REFLECTION_MAP                 0x8512
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:600:9: warning: 'GL_NORMAL_MAP_EXT' macro redefined
#define GL_NORMAL_MAP_EXT                                       GL_NORMAL_MAP
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3079:9: note: previous definition is here
#define GL_NORMAL_MAP_EXT                 0x8511
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:601:9: warning: 'GL_REFLECTION_MAP_EXT' macro redefined
#define GL_REFLECTION_MAP_EXT                           GL_REFLECTION_MAP
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3080:9: note: previous definition is here
#define GL_REFLECTION_MAP_EXT             0x8512
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:603:9: warning: 'GL_TEXTURE_CUBE_MAP_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_EXT                         ((GLenum)0x8513)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3081:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_EXT           0x8513
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:604:9: warning: 'GL_TEXTURE_BINDING_CUBE_MAP_EXT' macro redefined
#define GL_TEXTURE_BINDING_CUBE_MAP_EXT         ((GLenum)0x8514)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3082:9: note: previous definition is here
#define GL_TEXTURE_BINDING_CUBE_MAP_EXT   0x8514
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:606:9: warning: 'GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT      ((GLenum)0x8515)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3083:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:607:9: warning: 'GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT      ((GLenum)0x8516)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3084:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:608:9: warning: 'GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT      ((GLenum)0x8517)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3085:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:609:9: warning: 'GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT      ((GLenum)0x8518)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3086:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:610:9: warning: 'GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT      ((GLenum)0x8519)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3087:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:611:9: warning: 'GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT' macro redefined
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT      ((GLenum)0x851a)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3088:9: note: previous definition is here
#define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:652:9: warning: 'GL_COMPRESSED_ALPHA' macro redefined
#define GL_COMPRESSED_ALPHA                             ((GLenum)0x84E9)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:254:9: note: previous definition is here
#define GL_COMPRESSED_ALPHA               0x84E9
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:653:9: warning: 'GL_COMPRESSED_LUMINANCE' macro redefined
#define GL_COMPRESSED_LUMINANCE                 ((GLenum)0x84EA)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:255:9: note: previous definition is here
#define GL_COMPRESSED_LUMINANCE           0x84EA
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:654:9: warning: 'GL_COMPRESSED_LUMINANCE_ALPHA' macro redefined
#define GL_COMPRESSED_LUMINANCE_ALPHA   ((GLenum)0x84EB)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:256:9: note: previous definition is here
#define GL_COMPRESSED_LUMINANCE_ALPHA     0x84EB
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:655:9: warning: 'GL_COMPRESSED_INTENSITY' macro redefined
#define GL_COMPRESSED_INTENSITY                 ((GLenum)0x84EC)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:257:9: note: previous definition is here
#define GL_COMPRESSED_INTENSITY           0x84EC
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:656:9: warning: 'GL_COMPRESSED_RGB' macro redefined
#define GL_COMPRESSED_RGB                               ((GLenum)0x84ED)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1808:9: note: previous definition is here
#define GL_COMPRESSED_RGB                       0x84ED
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:657:9: warning: 'GL_COMPRESSED_RGBA' macro redefined
#define GL_COMPRESSED_RGBA                              ((GLenum)0x84EE)
        ^
/scratch/time/glclock/work/.buildlink/include/GL/gl.h:1809:9: note: previous definition is here
#define GL_COMPRESSED_RGBA                      0x84EE
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:695:9: warning: 'GL_COMPRESSED_RGB_S3TC_DXT1_EXT' macro redefined
#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT         GL_COMPRESSED_RGB_S3TC_DXT1
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3230:9: note: previous definition is here
#define GL_COMPRESSED_RGB_S3TC_DXT1_EXT   0x83F0
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:696:9: warning: 'GL_COMPRESSED_RGBA_S3TC_DXT1_EXT' macro redefined
#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT        GL_COMPRESSED_RGBA_S3TC_DXT1
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3231:9: note: previous definition is here
#define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT  0x83F1
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:697:9: warning: 'GL_COMPRESSED_RGBA_S3TC_DXT3_EXT' macro redefined
#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT        GL_COMPRESSED_RGBA_S3TC_DXT3
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3232:9: note: previous definition is here
#define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT  0x83F2
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:698:9: warning: 'GL_COMPRESSED_RGBA_S3TC_DXT5_EXT' macro redefined
#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT        GL_COMPRESSED_RGBA_S3TC_DXT5
        ^
/scratch/time/glclock/work/.buildlink/include/GL/glext.h:3233:9: note: previous definition is here
#define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT  0x83F3
        ^
glclock.cpp:663:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        int ret = fprintf(outstream, log) ;
                                     ^~~
glclock.cpp:1182:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (err = gluScaleImage(GL_RGB, src->width, src->height,
            ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:1182:10: note: place parentheses around the assignment to silence this warning
        if (err = gluScaleImage(GL_RGB, src->width, src->height,
                ^
glclock.cpp:1182:10: note: use '==' to turn this assignment into an equality comparison
        if (err = gluScaleImage(GL_RGB, src->width, src->height,
                ^
                ==
glclock.cpp:10280:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (err = gluScaleImage(GL_RGB, img[maxLevel - 1]->width, img[maxLevel - 1]->height,
                    ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:10280:11: note: place parentheses around the assignment to silence this warning
                if (err = gluScaleImage(GL_RGB, img[maxLevel - 1]->width, img[maxLevel - 1]->height,
                        ^
glclock.cpp:10280:11: note: use '==' to turn this assignment into an equality comparison
                if (err = gluScaleImage(GL_RGB, img[maxLevel - 1]->width, img[maxLevel - 1]->height,
                        ^
                        ==
glclock.cpp:10345:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (err = gluBuild2DMipmaps(GL_TEXTURE_2D, tex_internal_format, image->width, image->height, GL_RGB, GL_UNSIGNED_BYTE, image->dataptr))
                    ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:10345:11: note: place parentheses around the assignment to silence this warning
                if (err = gluBuild2DMipmaps(GL_TEXTURE_2D, tex_internal_format, image->width, image->height, GL_RGB, GL_UNSIGNED_BYTE, image->dataptr))
                        ^
                    (                                                                                                                                 )
glclock.cpp:10345:11: note: use '==' to turn this assignment into an equality comparison
                if (err = gluBuild2DMipmaps(GL_TEXTURE_2D, tex_internal_format, image->width, image->height, GL_RGB, GL_UNSIGNED_BYTE, image->dataptr))
                        ^
                        ==
glclock.cpp:10718:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (err = gluScaleImage(GL_RGB, (*image)->width, (*image)->height, GL_UNSIGNED_BYTE, (*image)->dataptr, width,height, GL_UNSIGNED_BYTE, s_image->dataptr))
            ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:10718:10: note: place parentheses around the assignment to silence this warning
        if (err = gluScaleImage(GL_RGB, (*image)->width, (*image)->height, GL_UNSIGNED_BYTE, (*image)->dataptr, width,height, GL_UNSIGNED_BYTE, s_image->dataptr))
                ^
            (                                                                                                                                                    )
glclock.cpp:10718:10: note: use '==' to turn this assignment into an equality comparison
        if (err = gluScaleImage(GL_RGB, (*image)->width, (*image)->height, GL_UNSIGNED_BYTE, (*image)->dataptr, width,height, GL_UNSIGNED_BYTE, s_image->dataptr))
                ^
                ==
glclock.cpp:13809:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                                        fprintf(fp, fstr) ;
                                                    ^~~~
glclock.cpp:18287:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        fprintf(fp, String("\n") + AUTHOR + "\n\n") ;
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:18290:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        fprintf(fp, String("\n") + AUTHOR + "\n\n") ;
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:18292:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                fprintf(fp, glInformationsLog + "\n") ;
                            ^~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:18917:12: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings]
        argv[0] = "glclock" ;
                  ^
37 warnings and 3 errors generated.
*** [glclock.o] Error code 1

make: stopped in /scratch/time/glclock/work/glclock-6.0b6.0
4 errors

make: stopped in /scratch/time/glclock/work/glclock-6.0b6.0
*** Error code 2

Stop.
make: stopped in /data/pkgsrc/time/glclock
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/time/glclock
