After updating to gcc-6.1.0 i started getting these errors when trying to build qt5.
../common/evr/evrdefs.h:93:13: error: 'selectany' attribute applies only to initialized variables with external linkage
DEFINE_GUID(IID_IMFGetService, 0xfa993888, 0x4383, 0x415a, 0xa9,0x30, 0xdd,0x47,0x2a,0x8c,0xf6,0xf7);
^
../common/evr/evrdefs.h:115:13: error: 'selectany' attribute applies only to initialized variables with external linkage
DEFINE_GUID(IID_IMFVideoDisplayControl, 0xa490b1e4, 0xab84, 0x4d31, 0xa1,0xb2, 0x18,0x1e,0x03,0xb1,0x07,0x7a);
^
../common/evr/evrdefs.h:143:13: error: 'selectany' attribute applies only to initialized variables with external linkage
DEFINE_GUID(IID_IMFVideoProcessor, 0x6AB0000C, 0xFECE, 0x4d1f, 0xA2,0xAC, 0xA9,0x57,0x35,0x30,0x65,0x6E);
^
../common/evr/evrdefs.h:167:13: error: 'selectany' attribute applies only to initialized variables with external linkage
DEFINE_GUID(IID_IMFVideoDeviceID, 0xA38D9567, 0x5A9C, 0x4f3c, 0xB2,0x93, 0x8E,0xB4,0x15,0xB2,0x79,0xBA);
^
../common/evr/evrdefs.h:181:13: error: 'selectany' attribute applies only to initialized variables with external linkage
DEFINE_GUID(IID_IMFClockStateSink, 0xF6696E82, 0x74F7, 0x4f3d, 0xA1,0x78, 0x8A,0x5E,0x09,0xC3,0x65,0x9F);
^
../common/evr/evrdefs.h:211:13: error: 'selectany' attribute applies only to initialized variables with external linkage
DEFINE_GUID(IID_IMFVideoPresenter, 0x29AFF080, 0x182A, 0x4a5d, 0xAF,0x3B, 0x44,0x8F,0x3A,0x63,0x46,0xCB);
^
../common/evr/evrdefs.h:226:13: error: 'selectany' attribute applies only to initialized variables with external linkage
DEFINE_GUID(IID_IMFRateSupport, 0x0a9ccdbc, 0xd797, 0x4563, 0x96,0x67, 0x94,0xec,0x5d,0x79,0x29,0x2d);
^
../common/evr/evrdefs.h:252:13: error: 'selectany' attribute applies only to initialized variables with external linkage
DEFINE_GUID(IID_IMFTopologyServiceLookup, 0xfa993889, 0x4383, 0x415a, 0xa9,0x30, 0xdd,0x47,0x2a,0x8c,0xf6,0xf7);
^
../common/evr/evrdefs.h:271:13: error: 'selectany' attribute applies only to initialized variables with external linkage
DEFINE_GUID(IID_IMFTopologyServiceLookupClient, 0xfa99388a, 0x4383, 0x415a, 0xa9,0x30, 0xdd,0x47,0x2a,0x8c,0xf6,0xf7);
^
../common/evr/evrdefs.h:300:13: error: 'selectany' attribute applies only to initialized variables with external linkage
DEFINE_GUID(IID_IMFVideoRenderer, 0xDFDFD197, 0xA9CA, 0x43d8, 0xB3,0x41, 0x6A,0xF3,0x50,0x37,0x92,0xCD);
^
../common/evr/evrdefs.h:315:13: error: 'selectany' attribute applies only to initialized variables with external linkage
DEFINE_GUID(IID_IMFTrackedSample, 0x245BF8E9, 0x0755, 0x40f7, 0x88,0xA5, 0xAE,0x0F,0x18,0xD5,0x5E,0x17);
^
../common/evr/evrdefs.h:329:13: error: 'selectany' attribute applies only to initialized variables with external linkage
DEFINE_GUID(IID_IMFDesiredSample, 0x56C294D0, 0x753E, 0x4260, 0x8D,0x61, 0xA3,0xD8,0x82,0x0B,0x1D,0x54);
also some uninitialized const variables
E:/Msys64/mingw64/x86_64-w64-mingw32/include/guiddef.h:20:21: note: and the implicitly-defined constructor does not initialize 'long unsigned int _GUID::Data1'
unsigned LONG32 Data1;
^~~~~
In file included from E:/Msys64/mingw64/x86_64-w64-mingw32/include/combaseapi.h:156:0,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/objbase.h:14,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/ole2.h:17,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/wtypes.h:12,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/winscard.h:10,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/windows.h:97,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/dshow.h:24,
from player/directshowplayerservice.cpp:34:
E:/Msys64/mingw64/x86_64-w64-mingw32/include/mfidl.h:2306:1: error: uninitialized const 'IID_IMFPresentationDescriptor' [-fpermissive]
DEFINE_GUID(IID_IMFPresentationDescriptor, 0x03cb2711, 0x24d7, 0x4db6, 0xa1,0x7f, 0xf3,0xa7,0xa4,0x79,0xa5,0x36);
^
In file included from E:/Msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:628:0,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/dshow.h:24,
from player/directshowplayerservice.cpp:34:
E:/Msys64/mingw64/x86_64-w64-mingw32/include/guiddef.h:19:16: note: 'const GUID {aka const struct _GUID}' has no user-provided default constructor
typedef struct _GUID {
^~~~~
E:/Msys64/mingw64/x86_64-w64-mingw32/include/guiddef.h:20:21: note: and the implicitly-defined constructor does not initialize 'long unsigned int _GUID::Data1'
unsigned LONG32 Data1;
^~~~~
In file included from E:/Msys64/mingw64/x86_64-w64-mingw32/include/combaseapi.h:156:0,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/objbase.h:14,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/ole2.h:17,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/wtypes.h:12,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/winscard.h:10,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/windows.h:97,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/dshow.h:24,
from player/directshowplayerservice.cpp:34:
E:/Msys64/mingw64/x86_64-w64-mingw32/include/mfidl.h:2747:1: error: uninitialized const 'IID_IMFMediaSource' [-fpermissive]
DEFINE_GUID(IID_IMFMediaSource, 0x279a808d, 0xaec7, 0x40c8, 0x9c,0x6b, 0xa6,0xb4,0x92,0xc7,0x8a,0x66);
^
In file included from E:/Msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:628:0,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/dshow.h:24,
from player/directshowplayerservice.cpp:34:
E:/Msys64/mingw64/x86_64-w64-mingw32/include/guiddef.h:19:16: note: 'const GUID {aka const struct _GUID}' has no user-provided default constructor
typedef struct _GUID {
^~~~~
E:/Msys64/mingw64/x86_64-w64-mingw32/include/guiddef.h:20:21: note: and the implicitly-defined constructor does not initialize 'long unsigned int _GUID::Data1'
unsigned LONG32 Data1;
^~~~~
In file included from E:/Msys64/mingw64/x86_64-w64-mingw32/include/combaseapi.h:156:0,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/objbase.h:14,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/ole2.h:17,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/wtypes.h:12,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/winscard.h:10,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/windows.h:97,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/dshow.h:24,
from player/directshowplayerservice.cpp:34:
E:/Msys64/mingw64/x86_64-w64-mingw32/include/mfidl.h:2991:1: error: uninitialized const 'IID_IMFByteStreamBuffering' [-fpermissive]
DEFINE_GUID(IID_IMFByteStreamBuffering, 0x6d66d782, 0x1d4f, 0x4db7, 0x8c,0x63, 0xcb,0x8c,0x77,0xf1,0xef,0x5e);
^
In file included from E:/Msys64/mingw64/x86_64-w64-mingw32/include/winnt.h:628:0,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/minwindef.h:163,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/windef.h:8,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/windows.h:69,
from E:/Msys64/mingw64/x86_64-w64-mingw32/include/dshow.h:24,
from player/directshowplayerservice.cpp:34:
E:/Msys64/mingw64/x86_64-w64-mingw32/include/guiddef.h:19:16: note: 'const GUID {aka const struct _GUID}' has no user-provided default constructor
typedef struct _GUID {
^~~~~
E:/Msys64/mingw64/x86_64-w64-mingw32/include/guiddef.h:20:21: note: and the implicitly-defined constructor does not initialize 'long unsigned int _GUID::Data1'
unsigned LONG32 Data1;
Anyone got an idea whats up with that ?.
Probably fixed by now. New issues can be filed on GitHub.