Posted to tcl by auriocus at Wed Jun 25 20:13:56 GMT 2014view raw

  1. rde_critcl/param.c:244:3: warning: implicit declaration of function 'qsort' is invalid in C99 [-Wimplicit-function-declaration]
  2. qsort (mv, mc, sizeof (long int), er_int_compare);
  3. ^
  4. rde_critcl/param.c:279:6: warning: expression result unused [-Wunused-value]
  5. (long int) rde_stack_top (p->LS);
  6. ^ ~~~~~~~~~~~~~~~~~~~~~
  7. rde_critcl/param.c:280:2: warning: control reaches end of non-void function [-Wreturn-type]
  8. }
  9. ^
  10. rde_critcl/param.c:438:34: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
  11. rde_stack_push (p->ER->msg, (void*) s);
  12. ^
  13. rde_critcl/param.c:527:42: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
  14. hPtr = Tcl_FindHashEntry (tablePtr, (char*) s);
  15. ^
  16. /usr/include/tcl.h:2369:38: note: expanded from macro 'Tcl_FindHashEntry'
  17. (*((tablePtr)->findProc))(tablePtr, key)
  18. ^
  19. rde_critcl/param.c:560:44: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast]
  20. hPtr = Tcl_CreateHashEntry (tablePtr, (char*) s, &isnew);
  21. ^
  22. /usr/include/tcl.h:2372:40: note: expanded from macro 'Tcl_CreateHashEntry'
  23. (*((tablePtr)->createProc))(tablePtr, key, newPtr)
  24. ^
  25. rde_critcl/param.c:710:55: warning: implicit declaration of function 'isxdigit' is invalid in C99 [-Wimplicit-function-declaration]
  26. return (character >= 0) && (character < 0x80) && isxdigit(character);
  27. ^
  28. rde_critcl/param.c:715:55: warning: implicit declaration of function 'isdigit' is invalid in C99 [-Wimplicit-function-declaration]
  29. return (character >= 0) && (character < 0x80) && isdigit(character);
  30. ^
  31. rde_critcl/param.c:4686:43: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
  32. sprintf (parserg->buf, "vmparser%d", parserg->counter);
  33. ~~ ^~~~~~~~~~~~~~~~
  34. %ld
  35. /usr/include/secure/_stdio.h:49:56: note: expanded from macro 'sprintf'
  36. __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
  37. ^
  38. 9 warnings generated.
  39.