Advertisement
Guest User

x11/kde4-workspace build with clang

a guest
Oct 23rd, 2013
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 6.04 KB | None | 0 0
  1. [ 96%] Building CXX object kwin/CMakeFiles/kdeinit_kwin.dir/glxbackend.cpp.o
  2. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:309:10: error: use of undeclared identifier
  3.       'GL_GUILTY_CONTEXT_RESET_ARB'
  4.     case GL_GUILTY_CONTEXT_RESET_KWIN:
  5.          ^
  6. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:297:43: note: expanded from macro 'GL_GUILTY_CONTEXT_RESET_KWIN'
  7. #  define GL_GUILTY_CONTEXT_RESET_KWIN    GL_GUILTY_CONTEXT_RESET_ARB
  8.                                           ^
  9. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:313:10: error: use of undeclared identifier
  10.       'GL_INNOCENT_CONTEXT_RESET_ARB'
  11.     case GL_INNOCENT_CONTEXT_RESET_KWIN:
  12.          ^
  13. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:298:43: note: expanded from macro
  14.       'GL_INNOCENT_CONTEXT_RESET_KWIN'
  15. #  define GL_INNOCENT_CONTEXT_RESET_KWIN  GL_INNOCENT_CONTEXT_RESET_ARB
  16.                                           ^
  17. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:317:10: error: use of undeclared identifier
  18.       'GL_UNKNOWN_CONTEXT_RESET_ARB'
  19.     case GL_UNKNOWN_CONTEXT_RESET_KWIN:
  20.          ^
  21. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:299:43: note: expanded from macro
  22.       'GL_UNKNOWN_CONTEXT_RESET_KWIN'
  23. #  define GL_UNKNOWN_CONTEXT_RESET_KWIN   GL_UNKNOWN_CONTEXT_RESET_ARB
  24.                                           ^
  25. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:1098:37: warning: offset of on non-POD type 'KWin::GLVertex2D'
  26.       [-Winvalid-offsetof]
  27.         { VA_Position, 2, GL_FLOAT, offsetof(GLVertex2D, position) },
  28.                                     ^                    ~~~~~~~~
  29. /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof'
  30. #define offsetof(type, member)  __offsetof(type, member)
  31.                                 ^
  32. /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof'
  33. #define __offsetof(type, field)  __builtin_offsetof(type, field)
  34.                                  ^
  35. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:1099:37: warning: offset of on non-POD type 'KWin::GLVertex2D'
  36.       [-Winvalid-offsetof]
  37.         { VA_TexCoord, 2, GL_FLOAT, offsetof(GLVertex2D, texcoord) },
  38.                                     ^                    ~~~~~~~~
  39. /usr/include/stddef.h:62:32: note: expanded from macro 'offsetof'
  40. #define offsetof(type, member)  __offsetof(type, member)
  41.                                 ^
  42. /usr/include/sys/cdefs.h:449:34: note: expanded from macro '__offsetof'
  43. #define __offsetof(type, field)  __builtin_offsetof(type, field)
  44.                                  ^
  45. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:2485:17: warning: unused variable 'bottomRight'
  46.       [-Wunused-variable]
  47.     const QSize bottomRight(shadowPixmap(ShadowElementBottomRight).size());
  48.                 ^
  49. In file included from /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.cpp:24:
  50. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/scene_opengl.h:350:18: warning: private field 'm_scene' is not used
  51.       [-Wunused-private-field]
  52.     SceneOpenGL *m_scene;
  53.                  ^
  54. 4 warnings and 3 errors generated.
  55. gmake[4]: *** [kwin/CMakeFiles/kdeinit_kwin.dir/scene_opengl.cpp.o] Error 1
  56. gmake[4]: *** Waiting for unfinished jobs....
  57. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/glxbackend.cpp:48:11: warning: expression which evaluates to zero treated as a
  58.       null pointer constant of type 'GLXContext' (aka '__GLXcontextRec *') [-Wnon-literal-null-conversion]
  59.     , ctx(None)
  60.           ^~~~
  61. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/glxbackend.cpp:160:58: error: use of undeclared identifier
  62.       'GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB'
  63.             GLX_CONTEXT_FLAGS_ARB,                       GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB,
  64.                                                          ^
  65. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/glxbackend.cpp:161:13: error: use of undeclared identifier
  66.       'GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB'
  67.             GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB, GLX_LOSE_CONTEXT_ON_RESET_ARB,
  68.             ^
  69. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/glxbackend.cpp:161:58: error: use of undeclared identifier
  70.       'GLX_LOSE_CONTEXT_ON_RESET_ARB'
  71.             GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB, GLX_LOSE_CONTEXT_ON_RESET_ARB,
  72.                                                          ^
  73. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/glxbackend.cpp:172:58: error: use of undeclared identifier
  74.       'GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB'
  75.             GLX_CONTEXT_FLAGS_ARB,                       GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB,
  76.                                                          ^
  77. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/glxbackend.cpp:173:13: error: use of undeclared identifier
  78.       'GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB'
  79.             GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB, GLX_LOSE_CONTEXT_ON_RESET_ARB,
  80.             ^
  81. /usr/ports/x11/kde4-workspace/work/kde-workspace-4.11.2/kwin/glxbackend.cpp:173:58: error: use of undeclared identifier
  82.       'GLX_LOSE_CONTEXT_ON_RESET_ARB'
  83.             GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB, GLX_LOSE_CONTEXT_ON_RESET_ARB,
  84.                                                          ^
  85. 1 warning and 6 errors generated.
  86. gmake[4]: *** [kwin/CMakeFiles/kdeinit_kwin.dir/glxbackend.cpp.o] Error 1
  87. gmake[4]: Leaving directory `/usr/ports/x11/kde4-workspace/work/.build'
  88. gmake[3]: *** [kwin/CMakeFiles/kdeinit_kwin.dir/all] Error 2
  89. gmake[3]: Leaving directory `/usr/ports/x11/kde4-workspace/work/.build'
  90. gmake[2]: *** [all] Error 2
  91. gmake[2]: Leaving directory `/usr/ports/x11/kde4-workspace/work/.build'
  92. ===> Compilation failed unexpectedly.
  93. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
  94. the maintainer.
  95. *** Error code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement