-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I just attempted to compile this on a new installation of MSYS2 and it failed with:
network.c:66:2: error: conflicting types for 'IP_MREQ'; have 'struct <anonymous>'
Looking at that file I find the conditional expression:
#if !defined __MINGW64_VERSION_MAJOR || __MINGW64_VERSION_MAJOR != 11
Looking at MSYS2 version for MINGW64 I see:
MinGW-w64 version 12.0.0
My solution was to change the conditional to:
#if !defined __MINGW64_VERSION_MAJOR || __MINGW64_VERSION_MAJOR < 11
For the files: network.c, sdrip.c, openhpsdr.c, afedri.c, and cloudiq.c
Metadata
Metadata
Assignees
Labels
No labels