appendix_A 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. .ds
  2. .SH
  3. Appendix A
  4. .LP
  5. .SH
  6. The warnings
  7. .LP
  8. .SH
  9. Pass one warnings
  10. .DS
  11. .ft CW
  12. %s may be used before set
  13. maybe %s used before set
  14. %s unused in function %s
  15. %s set but not used in function %s
  16. argument %s unused in function %s
  17. static [variable, function] %s unused
  18. %s declared extern but never used
  19. long conversion may lose accuracy
  20. comparison of unsigned with negative constant
  21. unsigned comparison with 0?
  22. degenerate unsigned comparison
  23. nonportable character comparison
  24. possible pointer alignment problem
  25. %s evaluation order undefined
  26. null effect
  27. constant in conditional context
  28. use if-else construction
  29. while (0) ?
  30. do ... while (0) ?
  31. [case, default] statement in strange context
  32. function %s has return(e); and return;
  33. statement not reached
  34. function %s declared %s but no value returned
  35. .ft P
  36. .DE
  37. .SH
  38. Pass two warnings
  39. .DS
  40. .ft CW
  41. %s variable # of args
  42. %s arg %d used inconsistently
  43. %s multiply defined
  44. %s value declared inconsistently
  45. %s used but not defined
  46. %s defined (%s(%d)) but never used
  47. %s declared but never defined
  48. %s value is used but none is returned
  49. %s returns value which is [sometimes, always] ignored
  50. %s also defined in library
  51. .ft P
  52. .DE