https://bugs.kde.org/show_bug.cgi?id=448681
--- Comment #7 from caulier.gil...@gmail.com --- Maik, I just seen that if we compile QtAV with the same compiler warnings level than digiKam (through KF5::ECM), we obtain the same warnings in fact about undefined preprocessor rules. Ex : 26 | #if NV_CONFIG(DLLAPI_CUDA) | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/gilles/Devel/QtAV/src/codec/video/VideoDecoderCUDA.cpp:45: /home/gilles/Devel/QtAV/src/cuda/cuda_api.h:48:1: warning: this use of "defined" may not be portable [-Wexpansion-to-defined] 48 | #if !NV_CONFIG(DLLAPI_CUDA) && !defined(CUDA_LINK) | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/gilles/Devel/QtAV/src/QtAV/AVError.h:24, from /home/gilles/Devel/QtAV/src/QtAV/AVDecoder.h:25, from /home/gilles/Devel/QtAV/src/QtAV/VideoDecoder.h:25, from /home/gilles/Devel/QtAV/src/codec/video/VideoDecoderCUDA.cpp:22: /home/gilles/Devel/QtAV/src/QtAV/QtAV_Global.h:173:29: warning: "QTAV_HAVE_CUDA_EGL" is not defined, evaluates to 0 [-Wundef] 173 | #define QTAV_HAVE(FEATURE) (QTAV_HAVE_##FEATURE+0) | ^~~~~~~~~~ /home/gilles/Devel/QtAV/src/codec/video/SurfaceInteropCUDA.h:139:5: note: in expansion of macro ‘QTAV_HAVE’ 139 | #if QTAV_HAVE(CUDA_EGL) | ^~~~~~~~~ /home/gilles/Devel/QtAV/src/QtAV/QtAV_Global.h:173:29: warning: "QTAV_HAVE_DLLAPI_CUDA" is not defined, evaluates to 0 [-Wundef] 173 | #define QTAV_HAVE(FEATURE) (QTAV_HAVE_##FEATURE+0) | ^~~~~~~~~~ /home/gilles/Devel/QtAV/src/codec/video/VideoDecoderCUDA.cpp:163:5: note: in expansion of macro ‘QTAV_HAVE’ 163 | #if QTAV_HAVE(DLLAPI_CUDA) | ^~~~~~~~~ /home/gilles/Devel/QtAV/src/QtAV/QtAV_Global.h:173:29: warning: "QTAV_HAVE_CUDA_EGL" is not defined, evaluates to 0 [-Wundef] 173 | #define QTAV_HAVE(FEATURE) (QTAV_HAVE_##FEATURE+0) | ^~~~~~~~~~ /home/gilles/Devel/QtAV/src/codec/video/VideoDecoderCUDA.cpp:207:5: note: in expansion of macro ‘QTAV_HAVE’ 207 | #if QTAV_HAVE(CUDA_EGL) | ^~~~~~~~~ The guy who code this rules must be ... well, forget (:-)))... You know what i mean... Gilles -- You are receiving this mail because: You are watching all bug changes.