[vlc-devel] Windows header ordering
Rémi Denis-Courmont
remi at remlab.net
Sat Jun 6 11:21:31 CEST 2020
Hi,
I have a problem:
In file included from ../../include/vlc_network.h:44,
from ../../modules/access/rtp/datagram.c:32:
/usr/share/mingw-w64/include/winsock2.h: At top level:
/usr/share/mingw-w64/include/winsock2.h:15:2: warning: #warning Please include
winsock2.h before windows.h [-Wcpp]
15 | #warning Please include winsock2.h before windows.h
| ^~~~~~~
winsock2.h is included by vlc_network.h and windows.h is included by
vlc_common.h, and vlc_network.h is not supposed to be included before
vlc_common.h (I don't know if it's even possible).
I suppose this constraint comes from newer MingW versions??
--
雷米‧德尼-库尔蒙
http://www.remlab.net/
More information about the vlc-devel
mailing list