Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. cleaning
  2. CC vtm.c
  3. cc -c -O2 -pipe -std=c99 -I. -DVERSION=\"0.15\" -DNDEBUG vtm.c
  4. In file included from vtm.c:227:
  5. In file included from ./config.h:91:
  6. ./deck.c:35:11: warning: comparison between pointer and integer ('Client *' (aka 'struct Client *') and 'unsigned int')
  7. if (sel == screen.nmaster && child == c)
  8. ~~~ ^ ~~~~~~~~~~~~~~
  9. ./deck.c:36:4: warning: implicit declaration of function 'draw_border' is invalid in C99 [-Wimplicit-function-declaration]
  10. draw_border(c);
  11. ^
  12. vtm.c:244:16: error: static declaration of 'sel' follows non-static declaration
  13. static Client *sel = NULL;
  14. ^
  15. ./deck.c:2:16: note: previous declaration is here
  16. extern Client *sel;
  17. ^
  18. vtm.c:393:4: warning: implicit declaration of function 'addnwstr' is invalid in C99 [-Wimplicit-function-declaration]
  19. addnwstr(wbuf+i, 1);
  20. ^
  21. vtm.c:412:1: error: static declaration of 'draw_border' follows non-static declaration
  22. draw_border(Client *c) {
  23. ^
  24. ./deck.c:36:4: note: previous implicit declaration is here
  25. draw_border(c);
  26. ^
  27. 3 warnings and 2 errors generated.
  28. *** Error 1 in /home/user/docs/dev/vtm (Makefile:19 'vtm.o')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement