Skip to content

Instantly share code, notes, and snippets.

@bzoz
Created August 3, 2016 14:38
Show Gist options
  • Save bzoz/f669e84138d661690f722abfffee0975 to your computer and use it in GitHub Desktop.
Save bzoz/f669e84138d661690f722abfffee0975 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/fs-poll.o src/fs-poll.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/inet.o src/inet.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/threadpool.o src/threadpool.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/uv-common.o src/uv-common.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/version.o src/version.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/async.o src/win/async.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/core.o src/win/core.c
src/win/core.c:38:18: warning: 'default_loop_struct' defined but not used [-Wunused-variable]
static uv_loop_t default_loop_struct;
^
src/win/core.c:39:19: warning: 'default_loop_ptr' defined but not used [-Wunused-variable]
static uv_loop_t* default_loop_ptr;
^
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/dl.o src/win/dl.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/error.o src/win/error.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/fs-event.o src/win/fs-event.c
src/win/fs-event.c: In function 'file_info_cmp':
src/win/fs-event.c:356:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (str_len != (file_name_len / sizeof(WCHAR)))
^
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/fs.o src/win/fs.c
src/win/fs.c: In function 'fs__unlink':
src/win/fs.c:724:5: warning: missing braces around initializer [-Wmissing-braces]
FILE_BASIC_INFORMATION basic = { 0 };
^
src/win/fs.c:724:5: warning: (near initialization for 'basic.CreationTime') [-Wmissing-braces]
src/win/fs.c:724:5: warning: missing initializer for field 'LastAccessTime' of 'FILE_BASIC_INFORMATION' [-Wmissing-field-initializers]
In file included from src/win/internal.h:29:0,
from src/win/fs.c:34:
src/win/winapi.h:4252:17: note: 'LastAccessTime' declared here
LARGE_INTEGER LastAccessTime;
^
src/win/fs.c: In function 'fs__realpath':
src/win/fs.c:1792:55: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (fs__realpath_handle(handle, (char**) &req->ptr) == -1) {
^
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/getaddrinfo.o src/win/getaddrinfo.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/getnameinfo.o src/win/getnameinfo.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/handle.o src/win/handle.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/loop-watcher.o src/win/loop-watcher.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/pipe.o src/win/pipe.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/poll.o src/win/poll.c
src/win/poll.c: In function 'uv__fast_poll_cancel_poll_req':
src/win/poll.c:153:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (result == SOCKET_ERROR) {
^
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/process-stdio.o src/win/process-stdio.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/process.o src/win/process.c
In file included from src/win/req-inl.h:25:0,
from src/win/process.c:34:
src/win/process.c: In function 'make_program_env':
src/win/process.c:736:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(env_len == ptr - dst_copy);
^
src/win/process.c:796:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (var_size != len-1) { /* race condition? */
^
In file included from src/win/req-inl.h:25:0,
from src/win/process.c:34:
src/win/process.c:812:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(env_len == (ptr - dst));
^
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/req.o src/win/req.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/signal.o src/win/signal.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/stream.o src/win/stream.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/tcp.o src/win/tcp.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/thread.o src/win/thread.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/timer.o src/win/timer.c
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/tty.o src/win/tty.c
src/win/tty.c: In function 'uv_tty_line_read_thread':
src/win/tty.c:473:3: warning: implicit declaration of function '_InterlockedOr' [-Wimplicit-function-declaration]
if (InterlockedOr(&uv__restore_screen_state, 0)) {
^
gcc -Wall -Wextra -Wno-unused-parameter -Iinclude -Isrc -Isrc/win -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -c -o src/win/udp.o src/win/udp.c
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: *** [src/win/util.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment