We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
grid.cc: error: 'this' pointer is null [-Werror=nonnull]
[ 40%] Building CXX object libheif/CMakeFiles/heif.dir/image-items/grid.cc.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build/libheif && /opt/local/bin/ccache /opt/local/bin/g++-mp-14 -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DHAVE_AOM_DECODER=1 -DHAVE_AOM_ENCODER=1 -DHAVE_LIBDE265=1 -DHAVE_LIBSHARPYUV=1 -DHAVE_OpenH264_DECODER=1 -DHAVE_UNISTD_H -DHAVE_VISIBILITY -DHAVE_X265=1 -DIS_BIG_ENDIAN=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/api -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/include/libheif -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/include -I/opt/local/include -I/opt/local/include/webp -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++20 -arch ppc -mmacosx-version-min=10.6 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Werror -Wall -Wsign-compare -Wconversion -Wno-sign-conversion -Wno-error=conversion -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Werror -MD -MT libheif/CMakeFiles/heif.dir/image-items/grid.cc.o -MF CMakeFiles/heif.dir/image-items/grid.cc.o.d -o CMakeFiles/heif.dir/image-items/grid.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/image-items/grid.cc [ 41%] Building CXX object libheif/CMakeFiles/heif.dir/image-items/overlay.cc.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build/libheif && /opt/local/bin/ccache /opt/local/bin/g++-mp-14 -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DHAVE_AOM_DECODER=1 -DHAVE_AOM_ENCODER=1 -DHAVE_LIBDE265=1 -DHAVE_LIBSHARPYUV=1 -DHAVE_OpenH264_DECODER=1 -DHAVE_UNISTD_H -DHAVE_VISIBILITY -DHAVE_X265=1 -DIS_BIG_ENDIAN=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/api -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/include/libheif -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/include -I/opt/local/include -I/opt/local/include/webp -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++20 -arch ppc -mmacosx-version-min=10.6 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Werror -Wall -Wsign-compare -Wconversion -Wno-sign-conversion -Wno-error=conversion -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Werror -MD -MT libheif/CMakeFiles/heif.dir/image-items/overlay.cc.o -MF CMakeFiles/heif.dir/image-items/overlay.cc.o.d -o CMakeFiles/heif.dir/image-items/overlay.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/image-items/overlay.cc [ 42%] Building CXX object libheif/CMakeFiles/heif.dir/image-items/iden.cc.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build/libheif && /opt/local/bin/ccache /opt/local/bin/g++-mp-14 -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DHAVE_AOM_DECODER=1 -DHAVE_AOM_ENCODER=1 -DHAVE_LIBDE265=1 -DHAVE_LIBSHARPYUV=1 -DHAVE_OpenH264_DECODER=1 -DHAVE_UNISTD_H -DHAVE_VISIBILITY -DHAVE_X265=1 -DIS_BIG_ENDIAN=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/api -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/include/libheif -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/include -I/opt/local/include -I/opt/local/include/webp -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++20 -arch ppc -mmacosx-version-min=10.6 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Werror -Wall -Wsign-compare -Wconversion -Wno-sign-conversion -Wno-error=conversion -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Werror -MD -MT libheif/CMakeFiles/heif.dir/image-items/iden.cc.o -MF CMakeFiles/heif.dir/image-items/iden.cc.o.d -o CMakeFiles/heif.dir/image-items/iden.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/image-items/iden.cc [ 43%] Building CXX object libheif/CMakeFiles/heif.dir/image-items/tiled.cc.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build/libheif && /opt/local/bin/ccache /opt/local/bin/g++-mp-14 -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DHAVE_AOM_DECODER=1 -DHAVE_AOM_ENCODER=1 -DHAVE_LIBDE265=1 -DHAVE_LIBSHARPYUV=1 -DHAVE_OpenH264_DECODER=1 -DHAVE_UNISTD_H -DHAVE_VISIBILITY -DHAVE_X265=1 -DIS_BIG_ENDIAN=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/api -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/include/libheif -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/include -I/opt/local/include -I/opt/local/include/webp -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++20 -arch ppc -mmacosx-version-min=10.6 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Werror -Wall -Wsign-compare -Wconversion -Wno-sign-conversion -Wno-error=conversion -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Werror -MD -MT libheif/CMakeFiles/heif.dir/image-items/tiled.cc.o -MF CMakeFiles/heif.dir/image-items/tiled.cc.o.d -o CMakeFiles/heif.dir/image-items/tiled.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/image-items/tiled.cc [ 44%] Building CXX object libheif/CMakeFiles/heif.dir/color-conversion/colorconversion.cc.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build/libheif && /opt/local/bin/ccache /opt/local/bin/g++-mp-14 -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DHAVE_AOM_DECODER=1 -DHAVE_AOM_ENCODER=1 -DHAVE_LIBDE265=1 -DHAVE_LIBSHARPYUV=1 -DHAVE_OpenH264_DECODER=1 -DHAVE_UNISTD_H -DHAVE_VISIBILITY -DHAVE_X265=1 -DIS_BIG_ENDIAN=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/api -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/include/libheif -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/include -I/opt/local/include -I/opt/local/include/webp -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++20 -arch ppc -mmacosx-version-min=10.6 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Werror -Wall -Wsign-compare -Wconversion -Wno-sign-conversion -Wno-error=conversion -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Werror -MD -MT libheif/CMakeFiles/heif.dir/color-conversion/colorconversion.cc.o -MF CMakeFiles/heif.dir/color-conversion/colorconversion.cc.o.d -o CMakeFiles/heif.dir/color-conversion/colorconversion.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/color-conversion/colorconversion.cc [ 45%] Building CXX object libheif/CMakeFiles/heif.dir/color-conversion/rgb2yuv.cc.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build/libheif && /opt/local/bin/ccache /opt/local/bin/g++-mp-14 -DENABLE_MULTITHREADING_SUPPORT=1 -DENABLE_PARALLEL_TILE_DECODING=1 -DHAVE_AOM_DECODER=1 -DHAVE_AOM_ENCODER=1 -DHAVE_LIBDE265=1 -DHAVE_LIBSHARPYUV=1 -DHAVE_OpenH264_DECODER=1 -DHAVE_UNISTD_H -DHAVE_VISIBILITY -DHAVE_X265=1 -DIS_BIG_ENDIAN=1 -DLIBHEIF_EXPORTS -Dheif_EXPORTS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/build -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/api -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/include/libheif -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/include -I/opt/local/include -I/opt/local/include/webp -pipe -Os -DNDEBUG -I/opt/local/include -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++20 -arch ppc -mmacosx-version-min=10.6 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Werror -Wall -Wsign-compare -Wconversion -Wno-sign-conversion -Wno-error=conversion -Wno-error=unused-parameter -Wno-error=deprecated-declarations -Werror -MD -MT libheif/CMakeFiles/heif.dir/color-conversion/rgb2yuv.cc.o -MF CMakeFiles/heif.dir/color-conversion/rgb2yuv.cc.o.d -o CMakeFiles/heif.dir/color-conversion/rgb2yuv.cc.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/color-conversion/rgb2yuv.cc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/image-items/grid.cc: In static member function 'static Result<std::shared_ptr<ImageItem_Grid> > ImageItem_Grid::add_and_encode_full_grid(HeifContext*, const std::vector<std::shared_ptr<HeifPixelImage> >&, uint16_t, uint16_t, heif_encoder*, const heif_encoding_options&)': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/image-items/grid.cc:741:55: error: 'this' pointer is null [-Werror=nonnull] 741 | pixi_property = out_tile->get_property<Box_pixi>(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/image-items/grid.h:24, from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/image-items/grid.cc:21: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libheif/libheif/work/libheif-1.19.3/libheif/image-items/image_item.h:104:28: note: in a call to non-static member function 'std::shared_ptr<_Tp> ImageItem::get_property() const [with BoxType = Box_pixi]' 104 | std::shared_ptr<BoxType> get_property() const | ^~~~~~~~~~~~ cc1plus: all warnings being treated as errors make[2]: *** [libheif/CMakeFiles/heif.dir/image-items/grid.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs....
The text was updated successfully, but these errors were encountered:
potential fix of add_and_encode_full_grid() (#1393)
c5cba31
Thanks, I think the above commit should fix it. Please confirm.
Sorry, something went wrong.
@farindk Yes, it does. Thank you very much, this was fast!
Thanks for sending in the report and confirming the fix.
No branches or pull requests
The text was updated successfully, but these errors were encountered: