{code} In file included from common\directshowbasefilter.cpp:40: In file included from common/directshowbasefilter.h:43: common/directshowpin.h(56,5): warning: 'reinterpret_cast' from class 'DirectShowPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(56,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from common\directshowbasefilter.cpp:40: In file included from common/directshowbasefilter.h:43: common/directshowpin.h(123,5): warning: 'reinterpret_cast' from class 'DirectShowOutputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(123,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from common\directshowbasefilter.cpp:40: In file included from common/directshowbasefilter.h:43: common/directshowpin.h(150,5): warning: 'reinterpret_cast' from class 'DirectShowInputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(150,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from common\directshowbasefilter.cpp:40: common/directshowbasefilter.h(50,5): warning: 'reinterpret_cast' from class 'DirectShowBaseFilter *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowbasefilter.h(50,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from common\directshowbasefilter.cpp:42: common/directshowpinenum.h(55,5): warning: 'reinterpret_cast' from class 'DirectShowPinEnum *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpinenum.h(55,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ 5 warnings generated. In file included from common\directshowmediatypeenum.cpp:40: common/directshowmediatypeenum.h(54,5): warning: 'reinterpret_cast' from class 'DirectShowMediaTypeEnum *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowmediatypeenum.h(54,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from common\directshowmediatypeenum.cpp:42: common/directshowpin.h(56,5): warning: 'reinterpret_cast' from class 'DirectShowPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(56,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from common\directshowmediatypeenum.cpp:42: common/directshowpin.h(123,5): warning: 'reinterpret_cast' from class 'DirectShowOutputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(123,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from common\directshowmediatypeenum.cpp:42: common/directshowpin.h(150,5): warning: 'reinterpret_cast' from class 'DirectShowInputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(150,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ 4 warnings generated. In file included from common\directshowpin.cpp:40: common/directshowpin.h(56,5): warning: 'reinterpret_cast' from class 'DirectShowPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(56,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from common\directshowpin.cpp:40: common/directshowpin.h(123,5): warning: 'reinterpret_cast' from class 'DirectShowOutputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(123,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from common\directshowpin.cpp:40: common/directshowpin.h(150,5): warning: 'reinterpret_cast' from class 'DirectShowInputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(150,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from common\directshowpin.cpp:43: common/directshowbasefilter.h(50,5): warning: 'reinterpret_cast' from class 'DirectShowBaseFilter *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowbasefilter.h(50,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from common\directshowpin.cpp:44: common/directshowmediatypeenum.h(54,5): warning: 'reinterpret_cast' from class 'DirectShowMediaTypeEnum *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowmediatypeenum.h(54,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ 5 warnings generated. In file included from common\directshowpinenum.cpp:40: In file included from common/directshowpinenum.h:46: common/directshowpin.h(56,5): warning: 'reinterpret_cast' from class 'DirectShowPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(56,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from common\directshowpinenum.cpp:40: In file included from common/directshowpinenum.h:46: common/directshowpin.h(123,5): warning: 'reinterpret_cast' from class 'DirectShowOutputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(123,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from common\directshowpinenum.cpp:40: In file included from common/directshowpinenum.h:46: common/directshowpin.h(150,5): warning: 'reinterpret_cast' from class 'DirectShowInputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(150,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from common\directshowpinenum.cpp:40: common/directshowpinenum.h(55,5): warning: 'reinterpret_cast' from class 'DirectShowPinEnum *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpinenum.h(55,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from common\directshowpinenum.cpp:41: common/directshowbasefilter.h(50,5): warning: 'reinterpret_cast' from class 'DirectShowBaseFilter *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowbasefilter.h(50,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ 5 warnings generated. In file included from player\directshowiosource.cpp:44: common\directshowmediatypeenum.h(54,5): warning: 'reinterpret_cast' from class 'DirectShowMediaTypeEnum *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common\directshowmediatypeenum.h(54,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from player\directshowiosource.cpp:45: In file included from common\directshowpinenum.h:46: common/directshowpin.h(56,5): warning: 'reinterpret_cast' from class 'DirectShowPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(56,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from player\directshowiosource.cpp:45: In file included from common\directshowpinenum.h:46: common/directshowpin.h(123,5): warning: 'reinterpret_cast' from class 'DirectShowOutputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(123,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from player\directshowiosource.cpp:45: In file included from common\directshowpinenum.h:46: common/directshowpin.h(150,5): warning: 'reinterpret_cast' from class 'DirectShowInputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(150,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from player\directshowiosource.cpp:45: common\directshowpinenum.h(55,5): warning: 'reinterpret_cast' from class 'DirectShowPinEnum *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common\directshowpinenum.h(55,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ 5 warnings generated. mfstream.cpp(233,13): warning: enumeration value 'msoBegin' not handled in switch [-Wswitch] switch (SeekOrigin) { ^ mfstream.cpp(336,9): warning: delete called on non-final 'MFStream::AsyncReadState' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] delete this; ^ 2 warnings generated. sourceresolver.cpp(315,9): warning: delete called on non-final 'SourceResolver::State' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] delete this; ^ 1 warning generated. In file included from player\directshowvideorenderercontrol.cpp:43: In file included from player/videosurfacefilter.h:43: In file included from common\directshowbasefilter.h:43: common/directshowpin.h(56,5): warning: 'reinterpret_cast' from class 'DirectShowPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(56,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from player\directshowvideorenderercontrol.cpp:43: In file included from player/videosurfacefilter.h:43: In file included from common\directshowbasefilter.h:43: common/directshowpin.h(123,5): warning: 'reinterpret_cast' from class 'DirectShowOutputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(123,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from player\directshowvideorenderercontrol.cpp:43: In file included from player/videosurfacefilter.h:43: In file included from common\directshowbasefilter.h:43: common/directshowpin.h(150,5): warning: 'reinterpret_cast' from class 'DirectShowInputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(150,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from player\directshowvideorenderercontrol.cpp:43: In file included from player/videosurfacefilter.h:43: common\directshowbasefilter.h(50,5): warning: 'reinterpret_cast' from class 'DirectShowBaseFilter *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common\directshowbasefilter.h(50,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from player\directshowvideorenderercontrol.cpp:43: player/videosurfacefilter.h(63,5): warning: 'reinterpret_cast' from class 'VideoSurfaceFilter *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ player/videosurfacefilter.h(63,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ 5 warnings generated. In file included from player\videosurfacefilter.cpp:40: In file included from player/videosurfacefilter.h:43: In file included from common\directshowbasefilter.h:43: common/directshowpin.h(56,5): warning: 'reinterpret_cast' from class 'DirectShowPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(56,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from player\videosurfacefilter.cpp:40: In file included from player/videosurfacefilter.h:43: In file included from common\directshowbasefilter.h:43: common/directshowpin.h(123,5): warning: 'reinterpret_cast' from class 'DirectShowOutputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(123,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from player\videosurfacefilter.cpp:40: In file included from player/videosurfacefilter.h:43: In file included from common\directshowbasefilter.h:43: common/directshowpin.h(150,5): warning: 'reinterpret_cast' from class 'DirectShowInputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(150,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from player\videosurfacefilter.cpp:40: In file included from player/videosurfacefilter.h:43: common\directshowbasefilter.h(50,5): warning: 'reinterpret_cast' from class 'DirectShowBaseFilter *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common\directshowbasefilter.h(50,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from player\videosurfacefilter.cpp:40: player/videosurfacefilter.h(63,5): warning: 'reinterpret_cast' from class 'VideoSurfaceFilter *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ player/videosurfacefilter.h(63,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ player\videosurfacefilter.cpp(62,5): warning: 'QueryInterface' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] DIRECTSHOW_OBJECT ^ common/directshowobject.h(67,18): note: expanded from macro 'DIRECTSHOW_OBJECT' STDMETHODIMP QueryInterface(REFIID riid, void **ppv) { \ ^ common/directshowpin.h(150,5): note: overridden virtual function is here DIRECTSHOW_OBJECT ^ common/directshowobject.h(67,18): note: expanded from macro 'DIRECTSHOW_OBJECT' STDMETHODIMP QueryInterface(REFIID riid, void **ppv) { \ ^ player\videosurfacefilter.cpp(62,5): warning: 'AddRef' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] DIRECTSHOW_OBJECT ^ common/directshowobject.h(73,26): note: expanded from macro 'DIRECTSHOW_OBJECT' STDMETHODIMP_(ULONG) AddRef() { \ ^ common/directshowpin.h(150,5): note: overridden virtual function is here DIRECTSHOW_OBJECT ^ common/directshowobject.h(73,26): note: expanded from macro 'DIRECTSHOW_OBJECT' STDMETHODIMP_(ULONG) AddRef() { \ ^ player\videosurfacefilter.cpp(62,5): warning: 'Release' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] DIRECTSHOW_OBJECT ^ common/directshowobject.h(76,26): note: expanded from macro 'DIRECTSHOW_OBJECT' STDMETHODIMP_(ULONG) Release() { \ ^ common/directshowpin.h(150,5): note: overridden virtual function is here DIRECTSHOW_OBJECT ^ common/directshowobject.h(76,26): note: expanded from macro 'DIRECTSHOW_OBJECT' STDMETHODIMP_(ULONG) Release() { \ ^ player\videosurfacefilter.cpp(71,13): warning: 'completeConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] HRESULT completeConnection(IPin *pin); ^ common/directshowpin.h(68,21): note: overridden virtual function is here virtual HRESULT completeConnection(IPin *pin); ^ player\videosurfacefilter.cpp(72,13): warning: 'connectionEnded' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] HRESULT connectionEnded(); ^ common/directshowpin.h(161,13): note: overridden virtual function is here HRESULT connectionEnded(); ^ player\videosurfacefilter.cpp(75,18): warning: 'ReceiveConnection' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] STDMETHODIMP ReceiveConnection(IPin *pConnector, const AM_MEDIA_TYPE *pmt); ^ common/directshowpin.h(78,18): note: overridden virtual function is here STDMETHODIMP ReceiveConnection(IPin *pConnector, const AM_MEDIA_TYPE *pmt); ^ player\videosurfacefilter.cpp(76,18): warning: 'Disconnect' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] STDMETHODIMP Disconnect(); ^ common/directshowpin.h(79,18): note: overridden virtual function is here STDMETHODIMP Disconnect(); ^ player\videosurfacefilter.cpp(77,18): warning: 'EndOfStream' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] STDMETHODIMP EndOfStream(); ^ common/directshowpin.h(165,18): note: overridden virtual function is here STDMETHODIMP EndOfStream(); ^ player\videosurfacefilter.cpp(78,18): warning: 'BeginFlush' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] STDMETHODIMP BeginFlush(); ^ common/directshowpin.h(166,18): note: overridden virtual function is here STDMETHODIMP BeginFlush(); ^ player\videosurfacefilter.cpp(79,18): warning: 'EndFlush' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] STDMETHODIMP EndFlush(); ^ common/directshowpin.h(167,18): note: overridden virtual function is here STDMETHODIMP EndFlush(); ^ player\videosurfacefilter.cpp(82,18): warning: 'GetAllocatorRequirements' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] STDMETHODIMP GetAllocatorRequirements(ALLOCATOR_PROPERTIES *pProps); ^ common/directshowpin.h(172,18): note: overridden virtual function is here STDMETHODIMP GetAllocatorRequirements(ALLOCATOR_PROPERTIES *pProps); ^ player\videosurfacefilter.cpp(83,18): warning: 'Receive' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] STDMETHODIMP Receive(IMediaSample *pMediaSample); ^ common/directshowpin.h(174,18): note: overridden virtual function is here STDMETHODIMP Receive(IMediaSample *pSample); ^ player\videosurfacefilter.cpp(62,5): warning: 'reinterpret_cast' from class 'VideoSurfaceInputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ player\videosurfacefilter.cpp(62,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ 18 warnings generated. In file included from ..\common\evr\evrcustompresenter.cpp:40: ..\common\evr/evrcustompresenter.h(371,16): warning: private field 'm_sampleToPresent' is not used [-Wunused-private-field] IMFSample *m_sampleToPresent; ^ 1 warning generated. ..\common\evr\evrd3dpresentengine.cpp(52,11): warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] # include ^~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Project MESSAGE: QML cache generation requested but target architecture x86_64 is not supported. Project MESSAGE: QML cache generation requested but target architecture x86_64 is not supported. Project MESSAGE: QML cache generation requested but target architecture x86_64 is not supported. In file included from .moc\debug\moc_videosurfacefilter.cpp:9: In file included from .moc\debug/../../player/videosurfacefilter.h:43: In file included from common\directshowbasefilter.h:43: common/directshowpin.h(56,5): warning: 'reinterpret_cast' from class 'DirectShowPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(56,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from .moc\debug\moc_videosurfacefilter.cpp:9: In file included from .moc\debug/../../player/videosurfacefilter.h:43: In file included from common\directshowbasefilter.h:43: common/directshowpin.h(123,5): warning: 'reinterpret_cast' from class 'DirectShowOutputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(123,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from .moc\debug\moc_videosurfacefilter.cpp:9: In file included from .moc\debug/../../player/videosurfacefilter.h:43: In file included from common\directshowbasefilter.h:43: common/directshowpin.h(150,5): warning: 'reinterpret_cast' from class 'DirectShowInputPin *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/directshowpin.h(150,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from .moc\debug\moc_videosurfacefilter.cpp:9: In file included from .moc\debug/../../player/videosurfacefilter.h:43: common\directshowbasefilter.h(50,5): warning: 'reinterpret_cast' from class 'DirectShowBaseFilter *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common\directshowbasefilter.h(50,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^ In file included from .moc\debug\moc_videosurfacefilter.cpp:9: .moc\debug/../../player/videosurfacefilter.h(63,5): warning: 'reinterpret_cast' from class 'VideoSurfaceFilter *' to its base at non-zero offset 'IUnknown *' behaves differently from 'static_cast' [-Wreinterpret-base-class] DIRECTSHOW_OBJECT ^~~~~~~~~~~~~~~~~ common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .moc\debug/../../player/videosurfacefilter.h(63,5): note: use 'static_cast' to adjust the pointer correctly while upcasting common/directshowobject.h(69,33): note: expanded from macro 'DIRECTSHOW_OBJECT' return GetInterface(reinterpret_cast(this), ppv); \