Skip to content

Fix mingw-w64 CI spam for winsock2.h #471

Description

@mrjimenez

Is there a way to fix this warning in the mingw-w64 CI? It is spamming the output of the job:

In file included from D:/a/_temp/msys64/mingw64/include/wx-3.2/wx/msw/wrapwin.h:58,
                 from D:/a/_temp/msys64/mingw64/include/wx-3.2/wx/msw/init.h:27,
                 from D:/a/_temp/msys64/mingw64/include/wx-3.2/wx/init.h:58,
                 from D:/a/_temp/msys64/mingw64/include/wx-3.2/wx/app.h:23,
                 from D:/a/amule/amule/src/DirectoryTreeCtrl.cpp:29:
D:/a/_temp/msys64/mingw64/include/winsock2.h:15:2: warning: #warning Please include winsock2.h before windows.h [-Wcpp]
   15 | #warning Please include winsock2.h before windows.h
      |  ^~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions