Skip to content

Instantly share code, notes, and snippets.

@bzoz
Created August 2, 2016 16:06
Show Gist options
  • Save bzoz/73f137836f6c0303f0974395ad0507cd to your computer and use it in GitHub Desktop.
Save bzoz/73f137836f6c0303f0974395ad0507cd to your computer and use it in GitHub Desktop.
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/util.o src/win/util.c
src/win/util.c: In function 'uv__getpwuid_r':
src/win/util.c:1314:20: error: 'UNLEN' undeclared (first use in this function)
wchar_t username[UNLEN + 1];
^
src/win/util.c:1314:20: note: each undeclared identifier is reported only once for each function it appears in
src/win/util.c:1314:11: warning: unused variable 'username' [-Wunused-variable]
wchar_t username[UNLEN + 1];
^
make.exe: *** [src/win/util.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment