Skip to content

Instantly share code, notes, and snippets.

@bytepicker
Created December 4, 2015 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bytepicker/bd1dc055232edb77b6d0 to your computer and use it in GitHub Desktop.
Save bytepicker/bd1dc055232edb77b6d0 to your computer and use it in GitHub Desktop.
warning
pcap.c:54:18: warning: incompatible pointer types passing 'FILE *' (aka 'struct __sFILE *') to
parameter of type 'const char *' [-Wincompatible-pointer-types]
{ printf(stdout,"(IP)\n");}
^~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/stdio.h:217:16: note:
expanded from macro 'stdout'
#define stdout __stdoutp
^~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/stdio.h:259:36: note:
passing argument to parameter here
int printf(const char * __restrict, ...) __printflike(1, 2);
^
1 warning generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment