Skip to content

Instantly share code, notes, and snippets.

@Choonster
Last active August 9, 2016 15:22
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 Choonster/44ec6c4029f44ec5a908759255e56a5f to your computer and use it in GitHub Desktop.
Save Choonster/44ec6c4029f44ec5a908759255e56a5f to your computer and use it in GitHub Desktop.
libuv 1.x compilation errors - MinGW on Windows 10 - https://github.com/libuv/libuv/issues/982
Cloning into 'libuv'...
Note: checking out 'a6acc822452b07564c0440bdb7909b7edc805013'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at a6acc82... test: fix OOB buffer access
+ libtoolize --copy
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
+ aclocal -I m4
+ autoconf
+ automake --add-missing --copy
configure.ac:26: installing `./compile'
configure.ac:22: installing `./config.guess'
configure.ac:22: installing `./config.sub'
configure.ac:21: installing `./install-sh'
configure.ac:21: installing `./missing'
Makefile.am: installing `./depcomp'
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for gcc way to treat warnings as errors... -Werror
checking if gcc supports -fvisibility=hidden... yes
checking if gcc supports -g flag... yes
checking if gcc supports -std=gnu89 flag... yes
checking if gcc supports -pedantic flag... yes
checking if gcc supports -Wall flag... yes
checking if gcc supports -Wextra flag... yes
checking if gcc supports -Wno-unused-parameter flag... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... c:/mingw/mingw32/bin/ld.exe
checking if the linker (c:/mingw/mingw32/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /mingw/bin/nm
checking the name lister (/mingw/bin/nm) interface... BSD nm
checking whether ln -s works... no, using cp -p
checking the maximum length of command line arguments... 8192
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-mingw32 file names to i686-pc-mingw32 format... func_convert_file_msys_to_w32
checking how to convert i686-pc-mingw32 file names to toolchain format... func_convert_file_msys_to_w32
checking for c:/mingw/mingw32/bin/ld.exe option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /mingw/bin/nm output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (c:/mingw/mingw32/bin/ld.exe) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for dlopen in -ldl... no
checking for kstat_lookup in -lkstat... no
checking for kvm_open in -lkvm... no
checking for gethostbyname in -lnsl... no
checking for perfstat_cpu in -lperfstat... no
checking for pthread_mutex_init in -lpthread... no
checking for clock_gettime in -lrt... no
checking for sendfile in -lsendfile... no
checking for socket in -lsocket... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... unknown
checking for _LARGE_FILES value needed for large files... unknown
checking sys/ahafs_evProds.h usability... no
checking sys/ahafs_evProds.h presence... no
checking for sys/ahafs_evProds.h... no
checking for pkg-config... no
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
CC src/libuv_la-fs-poll.lo
In file included from src/win/internal.h:29:0,
from src/fs-poll.c:247:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/fs-poll.c:247:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC src/libuv_la-inet.lo
CC src/libuv_la-threadpool.lo
In file included from src/win/internal.h:29:0,
from src/win/req-inl.h:28,
from src/threadpool.c:27:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/req-inl.h:28,
from src/threadpool.c:27:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC src/libuv_la-uv-common.lo
CC src/libuv_la-version.lo
CC src/win/libuv_la-async.lo
In file included from src/win/internal.h:29:0,
from src/win/async.c:25:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/async.c:25:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC src/win/libuv_la-core.lo
In file included from src/win/internal.h:29:0,
from src/win/core.c:33:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/core.c:33:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
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;
^
CC src/win/libuv_la-dl.lo
In file included from src/win/internal.h:29:0,
from src/win/dl.c:23:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/dl.c:23:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/dl.c: In function 'uv_dlsym':
src/win/dl.c:67:10: warning: ISO C forbids conversion of function pointer to object pointer type [-Wpedantic]
*ptr = (void*) GetProcAddress(lib->handle, name);
^
src/win/dl.c: In function 'uv__format_fallback_error':
src/win/dl.c:78:3: warning: initializer element is not computable at load time
DWORD_PTR args[1] = { (DWORD_PTR) errorno };
^
CC src/win/libuv_la-error.lo
In file included from src/win/internal.h:29:0,
from src/win/error.c:29:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/error.c:29:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/error.c: In function 'uv_fatal_error':
src/win/error.c:61:20: warning: overflow in implicit constant conversion [-Woverflow]
*((char*)NULL) = 0xff; /* Force debug break */
^
CC src/win/libuv_la-fs-event.lo
In file included from src/win/internal.h:29:0,
from src/win/fs-event.c:28:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/fs-event.c:28:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
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)))
^
CC src/win/libuv_la-fs.lo
In file included from src/win/internal.h:29:0,
from src/win/fs.c:34:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/fs.c:34:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
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__stat_handle':
src/win/fs.c:81:34: warning: use of C99 long long integer constant [-Wlong-long]
(*((uint64_t*) &(filetime)) - 116444736000000000ULL)
^
src/win/fs.c:84:5: note: in expansion of macro 'FILETIME_TO_UINT'
(FILETIME_TO_UINT(filetime) / 10000000ULL)
^
src/win/fs.c:91:27: note: in expansion of macro 'FILETIME_TO_TIME_T'
(ts).tv_sec = (long) FILETIME_TO_TIME_T(filetime); \
^
src/win/fs.c:1110:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_atim, file_info.BasicInformation.LastAccessTime);
^
src/win/fs.c:84:34: warning: use of C99 long long integer constant [-Wlong-long]
(FILETIME_TO_UINT(filetime) / 10000000ULL)
^
src/win/fs.c:91:27: note: in expansion of macro 'FILETIME_TO_TIME_T'
(ts).tv_sec = (long) FILETIME_TO_TIME_T(filetime); \
^
src/win/fs.c:1110:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_atim, file_info.BasicInformation.LastAccessTime);
^
src/win/fs.c:81:34: warning: use of C99 long long integer constant [-Wlong-long]
(*((uint64_t*) &(filetime)) - 116444736000000000ULL)
^
src/win/fs.c:87:6: note: in expansion of macro 'FILETIME_TO_UINT'
((FILETIME_TO_UINT(filetime) - (secs * 10000000ULL)) * 100)
^
src/win/fs.c:92:28: note: in expansion of macro 'FILETIME_TO_TIME_NS'
(ts).tv_nsec = (long) FILETIME_TO_TIME_NS(filetime, (ts).tv_sec); \
^
src/win/fs.c:1110:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_atim, file_info.BasicInformation.LastAccessTime);
^
src/win/fs.c:87:43: warning: use of C99 long long integer constant [-Wlong-long]
((FILETIME_TO_UINT(filetime) - (secs * 10000000ULL)) * 100)
^
src/win/fs.c:92:28: note: in expansion of macro 'FILETIME_TO_TIME_NS'
(ts).tv_nsec = (long) FILETIME_TO_TIME_NS(filetime, (ts).tv_sec); \
^
src/win/fs.c:1110:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_atim, file_info.BasicInformation.LastAccessTime);
^
src/win/fs.c:81:34: warning: use of C99 long long integer constant [-Wlong-long]
(*((uint64_t*) &(filetime)) - 116444736000000000ULL)
^
src/win/fs.c:84:5: note: in expansion of macro 'FILETIME_TO_UINT'
(FILETIME_TO_UINT(filetime) / 10000000ULL)
^
src/win/fs.c:91:27: note: in expansion of macro 'FILETIME_TO_TIME_T'
(ts).tv_sec = (long) FILETIME_TO_TIME_T(filetime); \
^
src/win/fs.c:1111:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_ctim, file_info.BasicInformation.ChangeTime);
^
src/win/fs.c:84:34: warning: use of C99 long long integer constant [-Wlong-long]
(FILETIME_TO_UINT(filetime) / 10000000ULL)
^
src/win/fs.c:91:27: note: in expansion of macro 'FILETIME_TO_TIME_T'
(ts).tv_sec = (long) FILETIME_TO_TIME_T(filetime); \
^
src/win/fs.c:1111:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_ctim, file_info.BasicInformation.ChangeTime);
^
src/win/fs.c:81:34: warning: use of C99 long long integer constant [-Wlong-long]
(*((uint64_t*) &(filetime)) - 116444736000000000ULL)
^
src/win/fs.c:87:6: note: in expansion of macro 'FILETIME_TO_UINT'
((FILETIME_TO_UINT(filetime) - (secs * 10000000ULL)) * 100)
^
src/win/fs.c:92:28: note: in expansion of macro 'FILETIME_TO_TIME_NS'
(ts).tv_nsec = (long) FILETIME_TO_TIME_NS(filetime, (ts).tv_sec); \
^
src/win/fs.c:1111:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_ctim, file_info.BasicInformation.ChangeTime);
^
src/win/fs.c:87:43: warning: use of C99 long long integer constant [-Wlong-long]
((FILETIME_TO_UINT(filetime) - (secs * 10000000ULL)) * 100)
^
src/win/fs.c:92:28: note: in expansion of macro 'FILETIME_TO_TIME_NS'
(ts).tv_nsec = (long) FILETIME_TO_TIME_NS(filetime, (ts).tv_sec); \
^
src/win/fs.c:1111:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_ctim, file_info.BasicInformation.ChangeTime);
^
src/win/fs.c:81:34: warning: use of C99 long long integer constant [-Wlong-long]
(*((uint64_t*) &(filetime)) - 116444736000000000ULL)
^
src/win/fs.c:84:5: note: in expansion of macro 'FILETIME_TO_UINT'
(FILETIME_TO_UINT(filetime) / 10000000ULL)
^
src/win/fs.c:91:27: note: in expansion of macro 'FILETIME_TO_TIME_T'
(ts).tv_sec = (long) FILETIME_TO_TIME_T(filetime); \
^
src/win/fs.c:1112:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_mtim, file_info.BasicInformation.LastWriteTime);
^
src/win/fs.c:84:34: warning: use of C99 long long integer constant [-Wlong-long]
(FILETIME_TO_UINT(filetime) / 10000000ULL)
^
src/win/fs.c:91:27: note: in expansion of macro 'FILETIME_TO_TIME_T'
(ts).tv_sec = (long) FILETIME_TO_TIME_T(filetime); \
^
src/win/fs.c:1112:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_mtim, file_info.BasicInformation.LastWriteTime);
^
src/win/fs.c:81:34: warning: use of C99 long long integer constant [-Wlong-long]
(*((uint64_t*) &(filetime)) - 116444736000000000ULL)
^
src/win/fs.c:87:6: note: in expansion of macro 'FILETIME_TO_UINT'
((FILETIME_TO_UINT(filetime) - (secs * 10000000ULL)) * 100)
^
src/win/fs.c:92:28: note: in expansion of macro 'FILETIME_TO_TIME_NS'
(ts).tv_nsec = (long) FILETIME_TO_TIME_NS(filetime, (ts).tv_sec); \
^
src/win/fs.c:1112:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_mtim, file_info.BasicInformation.LastWriteTime);
^
src/win/fs.c:87:43: warning: use of C99 long long integer constant [-Wlong-long]
((FILETIME_TO_UINT(filetime) - (secs * 10000000ULL)) * 100)
^
src/win/fs.c:92:28: note: in expansion of macro 'FILETIME_TO_TIME_NS'
(ts).tv_nsec = (long) FILETIME_TO_TIME_NS(filetime, (ts).tv_sec); \
^
src/win/fs.c:1112:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_mtim, file_info.BasicInformation.LastWriteTime);
^
src/win/fs.c:81:34: warning: use of C99 long long integer constant [-Wlong-long]
(*((uint64_t*) &(filetime)) - 116444736000000000ULL)
^
src/win/fs.c:84:5: note: in expansion of macro 'FILETIME_TO_UINT'
(FILETIME_TO_UINT(filetime) / 10000000ULL)
^
src/win/fs.c:91:27: note: in expansion of macro 'FILETIME_TO_TIME_T'
(ts).tv_sec = (long) FILETIME_TO_TIME_T(filetime); \
^
src/win/fs.c:1113:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_birthtim, file_info.BasicInformation.CreationTime);
^
src/win/fs.c:84:34: warning: use of C99 long long integer constant [-Wlong-long]
(FILETIME_TO_UINT(filetime) / 10000000ULL)
^
src/win/fs.c:91:27: note: in expansion of macro 'FILETIME_TO_TIME_T'
(ts).tv_sec = (long) FILETIME_TO_TIME_T(filetime); \
^
src/win/fs.c:1113:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_birthtim, file_info.BasicInformation.CreationTime);
^
src/win/fs.c:81:34: warning: use of C99 long long integer constant [-Wlong-long]
(*((uint64_t*) &(filetime)) - 116444736000000000ULL)
^
src/win/fs.c:87:6: note: in expansion of macro 'FILETIME_TO_UINT'
((FILETIME_TO_UINT(filetime) - (secs * 10000000ULL)) * 100)
^
src/win/fs.c:92:28: note: in expansion of macro 'FILETIME_TO_TIME_NS'
(ts).tv_nsec = (long) FILETIME_TO_TIME_NS(filetime, (ts).tv_sec); \
^
src/win/fs.c:1113:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_birthtim, file_info.BasicInformation.CreationTime);
^
src/win/fs.c:87:43: warning: use of C99 long long integer constant [-Wlong-long]
((FILETIME_TO_UINT(filetime) - (secs * 10000000ULL)) * 100)
^
src/win/fs.c:92:28: note: in expansion of macro 'FILETIME_TO_TIME_NS'
(ts).tv_nsec = (long) FILETIME_TO_TIME_NS(filetime, (ts).tv_sec); \
^
src/win/fs.c:1113:3: note: in expansion of macro 'FILETIME_TO_TIMESPEC'
FILETIME_TO_TIMESPEC(statbuf->st_birthtim, file_info.BasicInformation.CreationTime);
^
src/win/fs.c:1119:64: warning: use of C99 long long integer constant [-Wlong-long]
file_info.StandardInformation.AllocationSize.QuadPart >> 9ULL;
^
src/win/fs.c: In function 'fs__utime_handle':
src/win/fs.c:97:46: warning: use of C99 long long integer constant [-Wlong-long]
uint64_t bigtime = ((uint64_t) ((time) * 10000000ULL)) + \
^
src/win/fs.c:1429:3: note: in expansion of macro 'TIME_T_TO_FILETIME'
TIME_T_TO_FILETIME(atime, &filetime_a);
^
src/win/fs.c:98:35: warning: use of C99 long long integer constant [-Wlong-long]
116444736000000000ULL; \
^
src/win/fs.c:1429:3: note: in expansion of macro 'TIME_T_TO_FILETIME'
TIME_T_TO_FILETIME(atime, &filetime_a);
^
src/win/fs.c:97:46: warning: use of C99 long long integer constant [-Wlong-long]
uint64_t bigtime = ((uint64_t) ((time) * 10000000ULL)) + \
^
src/win/fs.c:1430:3: note: in expansion of macro 'TIME_T_TO_FILETIME'
TIME_T_TO_FILETIME(mtime, &filetime_m);
^
src/win/fs.c:98:35: warning: use of C99 long long integer constant [-Wlong-long]
116444736000000000ULL; \
^
src/win/fs.c:1430:3: note: in expansion of macro 'TIME_T_TO_FILETIME'
TIME_T_TO_FILETIME(mtime, &filetime_m);
^
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) {
^
src/win/fs.c: In function 'uv_fs_link':
src/win/fs.c:209:5: warning: 'path_len' may be used uninitialized in this function [-Wmaybe-uninitialized]
memcpy(pos, path, path_len);
^
src/win/fs.c:126:23: note: 'path_len' was declared here
ssize_t buf_sz = 0, path_len, pathw_len = 0, new_pathw_len = 0;
^
src/win/fs.c: In function 'uv_fs_symlink':
src/win/fs.c:209:5: warning: 'path_len' may be used uninitialized in this function [-Wmaybe-uninitialized]
memcpy(pos, path, path_len);
^
src/win/fs.c:126:23: note: 'path_len' was declared here
ssize_t buf_sz = 0, path_len, pathw_len = 0, new_pathw_len = 0;
^
src/win/fs.c: In function 'uv_fs_rename':
src/win/fs.c:209:5: warning: 'path_len' may be used uninitialized in this function [-Wmaybe-uninitialized]
memcpy(pos, path, path_len);
^
src/win/fs.c:126:23: note: 'path_len' was declared here
ssize_t buf_sz = 0, path_len, pathw_len = 0, new_pathw_len = 0;
^
CC src/win/libuv_la-getaddrinfo.lo
In file included from src/win/internal.h:29:0,
from src/win/getaddrinfo.c:25:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/getaddrinfo.c:25:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC src/win/libuv_la-getnameinfo.lo
In file included from src/win/internal.h:29:0,
from src/win/getnameinfo.c:26:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/getnameinfo.c:26:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC src/win/libuv_la-handle.lo
In file included from src/win/internal.h:29:0,
from src/win/handle.c:27:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/handle.c:27:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC src/win/libuv_la-loop-watcher.lo
In file included from src/win/internal.h:29:0,
from src/win/loop-watcher.c:25:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/loop-watcher.c:25:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC src/win/libuv_la-pipe.lo
In file included from src/win/internal.h:29:0,
from src/win/pipe.c:29:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/pipe.c:29:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC src/win/libuv_la-poll.lo
In file included from src/win/internal.h:29:0,
from src/win/poll.c:26:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/poll.c:26:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
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) {
^
CC src/win/libuv_la-process-stdio.lo
In file included from src/win/internal.h:29:0,
from src/win/process-stdio.c:28:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/process-stdio.c:28:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC src/win/libuv_la-process.lo
In file included from src/win/internal.h:29:0,
from src/win/process.c:32:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/process.c:32:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
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));
^
CC src/win/libuv_la-req.lo
In file included from src/win/internal.h:29:0,
from src/win/req.c:25:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;c
^
In file included from src/win/internal.h:30:0,
from src/win/req.c:25:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC src/win/libuv_la-signal.lo
In file included from src/win/internal.h:29:0,
from src/win/signal.c:25:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/signal.c:25:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/signal.c:60:82: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic]
RB_GENERATE_STATIC(uv_signal_tree_s, uv_signal_s, tree_entry, uv__signal_compare);
^
CC src/win/libuv_la-stream.lo
In file included from src/win/internal.h:29:0,
from src/win/stream.c:25:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/stream.c:25:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC src/win/libuv_la-tcp.lo
In file included from src/win/internal.h:29:0,
from src/win/tcp.c:26:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/tcp.c:26:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC src/win/libuv_la-thread.lo
In file included from src/win/internal.h:29:0,
from src/win/thread.c:27:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/thread.c:27:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/thread.c: In function 'uv_cond_wait_helper':
src/win/thread.c:514:5: warning: initializer element is not computable at load time
cond->fallback.signal_event,
^
src/win/thread.c:516:3: warning: initializer element is not computable at load time
};
^
CC src/win/libuv_la-timer.lo
In file included from src/win/internal.h:29:0,
from src/win/timer.c:26:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/timer.c:26:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/timer.c:59:78: warning: ISO C does not allow extra ';' outside of a function [-Wpedantic]
RB_GENERATE_STATIC(uv_timer_tree_s, uv_timer_s, tree_entry, uv_timer_compare);
^
CC src/win/libuv_la-tty.lo
In file included from src/win/internal.h:29:0,
from src/win/tty.c:38:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/tty.c:38:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
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)) {
^
src/win/tty.c: In function 'uv_process_tty_read_raw_req':
src/win/tty.c:758:11: warning: initializer element is not computable at load time
WCHAR utf16_buffer[2] = { handle->tty.rd.last_utf16_high_surrogate,
^
src/win/tty.c:759:37: warning: initializer element is not computable at load time
KEV.uChar.UnicodeChar};
^
CC src/win/libuv_la-udp.lo
In file included from src/win/internal.h:29:0,
from src/win/udp.c:26:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/udp.c:26:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC src/win/libuv_la-util.lo
In file included from src/win/internal.h:29:0,
from src/win/util.c:31:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/util.c:31:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC src/win/libuv_la-winapi.lo
In file included from src/win/internal.h:29:0,
from src/win/winapi.c:25:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/winapi.c:25:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CC src/win/libuv_la-winsock.lo
In file included from src/win/internal.h:29:0,
from src/win/winsock.c:26:
src/win/winapi.h:4156:19: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
} DUMMYUNIONNAME;
^
In file included from src/win/internal.h:30:0,
from src/win/winsock.c:26:
src/win/winsock.h:157:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:158:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:175:6: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
src/win/winsock.h:176:4: warning: ISO C90 doesn't support unnamed structs/unions [-Wpedantic]
};
^
CCLD libuv.la
src/win/.libs/libuv_la-tty.o: In function `uv_tty_line_read_thread':
C:\MinGW\msys\1.0\home\USER\libuv/src/win/tty.c:473: undefined reference to `_InterlockedOr'
src/win/.libs/libuv_la-tty.o: In function `uv__cancel_read_console':
C:\MinGW\msys\1.0\home\USER\libuv/src/win/tty.c:1041: undefined reference to `_InterlockedOr'
collect2.exe: error: ld returned 1 exit status
make: *** [libuv.la] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment