Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.56 KB | None | 0 0
  1. [~/Documents/code/rirc] $ make
  2. cc -std=c99 -Wall -pedantic -O3 -g -c -o src/bld/input.o src/input.c
  3. cc -std=c99 -Wall -pedantic -O3 -g -c -o src/bld/net.o src/net.c
  4. src/net.c:108:17: warning: zero size arrays are an extension [-Wzero-length-array]
  5.         struct in_addr h_addr;
  6.                        ^~~~~~
  7. /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/netdb.h:119:28: note:
  8.       expanded from macro 'h_addr'
  9. #define h_addr  h_addr_list[0]  /* address, for backward compatibility */
  10.                             ^
  11. src/net.c:434:11: warning: variable 'cmd' is used uninitialized whenever '&&' condition is false
  12.       [-Wsometimes-uninitialized]
  13.         else if (*++mesg && !(cmd = getarg(&mesg, 1)))
  14.                  ^~~~~~~
  15. src/net.c:436:18: note: uninitialized use occurs here
  16.         else if (streqi(cmd, "JOIN"))
  17.                         ^~~
  18. src/net.c:434:11: note: remove the '&&' if its condition is always true
  19.         else if (*++mesg && !(cmd = getarg(&mesg, 1)))
  20.                  ^~~~~~~~~~
  21. src/net.c:431:11: note: initialize the variable 'cmd' to silence this warning
  22.         char *cmd;
  23.                  ^
  24.                   = NULL
  25. 2 warnings generated.
  26. cc -std=c99 -Wall -pedantic -O3 -g -c -o src/bld/rirc.o src/rirc.c
  27. cc -std=c99 -Wall -pedantic -O3 -g -c -o src/bld/ui.o src/ui.c
  28. cc -std=c99 -Wall -pedantic -O3 -g -c -o src/bld/utils.o src/utils.c
  29. cc -std=c99 -Wall -pedantic -O3 -g -o rirc src/bld/input.o src/bld/net.o src/bld/rirc.o src/bld/ui.o src/bld/utils.o
  30. [~/Documents/code/rirc] $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement