https://bugs.kde.org/show_bug.cgi?id=440084
Bug ID: 440084 Summary: exr.cpp/OpenEXR virtual function tellg error Product: frameworks-kimageformats Version: unspecified Platform: MacPorts Packages OS: macOS Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: alex.me...@kde.org Reporter: kurt.hindenb...@gmail.com CC: aa...@kde.org, kdelibs-b...@kde.org Target Milestone: --- This appears to be similar to https://bugs.kde.org/show_bug.cgi?id=439767 but I still get an error even after the patch for that BR. I build KF5 from the current source. AppleClang 12.0.5.12050022; openexr @2.3.0 /Volumes/Devel/KDE/src/frameworks/kimageformats/src/imageformats/exr.cpp:47:14: error: virtual function 'tellg' has a different return type ('uint64_t' (aka 'unsigned long long')) than the function it overrides (which has return type 'Imath_2_3::Int64' (aka 'unsigned long')) uint64_t tellg() override; ~~~~~~~~ ^ /opt/local/include/OpenEXR/ImfIO.h:117:19: note: overridden virtual function is here virtual Int64 tellg () = 0; ~~~~~ ^ /Volumes/Devel/KDE/src/frameworks/kimageformats/src/imageformats/exr.cpp:48:30: error: non-virtual member function marked 'override' hides virtual member function void seekg(uint64_t pos) override; ^ /opt/local/include/OpenEXR/ImfIO.h:125:18: note: hidden overloaded virtual function 'Imf_2_3::IStream::seekg' declared here: type mismatch at 1st parameter ('Imath_2_3::Int64' (aka 'unsigned long') vs 'uint64_t' (aka 'unsigned long long')) virtual void seekg (Int64 pos) = 0; ^ /Volumes/Devel/KDE/src/frameworks/kimageformats/src/imageformats/exr.cpp:170:19: error: variable type 'K_IStream' is an abstract class K_IStream istr(device(), QByteArray()); ^ /opt/local/include/OpenEXR/ImfIO.h:125:18: note: unimplemented pure virtual method 'seekg' in 'K_IStream' virtual void seekg (Int64 pos) = 0; ^ -- You are receiving this mail because: You are watching all bug changes.