Advertisement
Guest User

Untitled

a guest
Aug 18th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.45 KB | None | 0 0
  1. alexmalmis@PC ~/dwm> make
  2. dwm build options:
  3. CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION="6.1" -DXINERAMA
  4. LDFLAGS = -L/usr/X11R6/lib -lX11 -lXinerama -lfontconfig -lXft
  5. CC = cc
  6. cp config.def.h config.h
  7. cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"6.1\" -DXINERAMA drw.c
  8. cc -c -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os -I/usr/X11R6/include -I/usr/include/freetype2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"6.1\" -DXINERAMA dwm.c
  9. dwm.c: In function ‘applysizehints’:
  10. dwm.c:55:57: error: ‘gappx’ undeclared (first use in this function)
  11. #define WIDTH(X) ((X)->w + 2 * (X)->bw + gappx)
  12. ^~~~~
  13. dwm.c:325:14: note: in expansion of macro ‘WIDTH’
  14. *x = sw - WIDTH(c);
  15. ^~~~~
  16. dwm.c:55:57: note: each undeclared identifier is reported only once for each function it appears in
  17. #define WIDTH(X) ((X)->w + 2 * (X)->bw + gappx)
  18. ^~~~~
  19. dwm.c:325:14: note: in expansion of macro ‘WIDTH’
  20. *x = sw - WIDTH(c);
  21. ^~~~~
  22. dwm.c: In function ‘configurerequest’:
  23. dwm.c:55:57: error: ‘gappx’ undeclared (first use in this function)
  24. #define WIDTH(X) ((X)->w + 2 * (X)->bw + gappx)
  25. ^~~~~
  26. dwm.c:608:33: note: in expansion of macro ‘WIDTH’
  27. c->x = m->mx + (m->mw / 2 - WIDTH(c) / 2); /* center in x direction */
  28. ^~~~~
  29. dwm.c: In function ‘manage’:
  30. dwm.c:55:57: error: ‘gappx’ undeclared (first use in this function)
  31. #define WIDTH(X) ((X)->w + 2 * (X)->bw + gappx)
  32. ^~~~~
  33. dwm.c:1042:13: note: in expansion of macro ‘WIDTH’
  34. if (c->x + WIDTH(c) > c->mon->mx + c->mon->mw)
  35. ^~~~~
  36. dwm.c: In function ‘movemouse’:
  37. dwm.c:55:57: error: ‘gappx’ undeclared (first use in this function)
  38. #define WIDTH(X) ((X)->w + 2 * (X)->bw + gappx)
  39. ^~~~~
  40. dwm.c:1173:51: note: in expansion of macro ‘WIDTH’
  41. else if (abs((selmon->wx + selmon->ww) - (nx + WIDTH(c))) < snap)
  42. ^~~~~
  43. dwm.c: In function ‘resizeclient’:
  44. dwm.c:1299:16: error: ‘gappx’ undeclared (first use in this function)
  45. gapoffset = gappx;
  46. ^~~~~
  47. dwm.c: In function ‘showhide’:
  48. dwm.c:55:57: error: ‘gappx’ undeclared (first use in this function)
  49. #define WIDTH(X) ((X)->w + 2 * (X)->bw + gappx)
  50. ^~~~~
  51. dwm.c:1651:28: note: in expansion of macro ‘WIDTH’
  52. XMoveWindow(dpy, c->win, WIDTH(c) * -2, c->y);
  53. ^~~~~
  54. dwm.c: In function ‘tile’:
  55. dwm.c:56:57: error: ‘gappx’ undeclared (first use in this function)
  56. #define HEIGHT(X) ((X)->h + 2 * (X)->bw + gappx)
  57. ^~~~~
  58. dwm.c:1715:10: note: in expansion of macro ‘HEIGHT’
  59. my += HEIGHT(c);
  60. ^~~~~~
  61. make: *** [Makefile:18: dwm.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement