Actions
Bug #18359
open[Windows MinGW] warning Please include winsock2.h before windows.h
Status:
Open
Assignee:
-
Target version:
-
ruby -v:
ruby 3.1.0dev (2021-11-23T07:08:53Z master a88b19d3d0) [x64-mingw32]
Description
Compile warning from include/ruby/win32.h
? Appears with both MINGW64 & UCRT64 builds.
In file included from D:/ruby-mingw/include/ruby-3.1.0/ruby/win32.h:41,
from D:/ruby-mingw/include/ruby-3.1.0/ruby/internal/dosish.h:38,
from D:/ruby-mingw/include/ruby-3.1.0/ruby/defines.h:78,
from D:/ruby-mingw/include/ruby-3.1.0/ruby/ruby.h:25,
from D:/ruby-mingw/include/ruby-3.1.0/ruby.h:38,
from ../../../../ext/nokogiri/nokogiri.h:68,
from ../../../../ext/nokogiri/gumbo.c:30:
C:/msys64/mingw64/x86_64-w64-mingw32/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp]
15 | #warning Please include winsock2.h before windows.h
| ^~~~~~~
Actions
Like0
Like0