=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/graphics/libbpg", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for libbpg-0.9.2nb1 gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -c -o bpgdec.o bpgdec.c gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavcodec/hevc_cabac.o libavcodec/hevc_cabac.c gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavcodec/hevc_filter.o libavcodec/hevc_filter.c In file included from ./libavutil/common.h:412, from libavcodec/hevc_cabac.c:25: ./libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ In file included from ./libavutil/common.h:412, from libavcodec/hevc_filter.c:25: ./libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ libavcodec/hevc_cabac.c:937:12: warning: 'explicit_rdpcm_dir_flag_decode' defined but not used [-Wunused-function] 937 | static int explicit_rdpcm_dir_flag_decode(HEVCContext *s, int c_idx) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/hevc_cabac.c:932:12: warning: 'explicit_rdpcm_flag_decode' defined but not used [-Wunused-function] 932 | static int explicit_rdpcm_flag_decode(HEVCContext *s, int c_idx) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libavcodec/hevc_filter.c: In function 'ff_hevc_deblocking_boundary_strengths': libavcodec/hevc_filter.c:753:12: warning: unused variable 'bs' [-Wunused-variable] 753 | int i, bs; | ^~ libavcodec/hevc_filter.c:745:9: warning: unused variable 'min_tu_width' [-Wunused-variable] 745 | int min_tu_width = s->sps->min_tb_width; | ^~~~~~~~~~~~ libavcodec/hevc_filter.c:744:9: warning: unused variable 'min_pu_width' [-Wunused-variable] 744 | int min_pu_width = s->sps->min_pu_width; | ^~~~~~~~~~~~ libavcodec/hevc_filter.c:743:9: warning: unused variable 'log2_min_tu_size' [-Wunused-variable] 743 | int log2_min_tu_size = s->sps->log2_min_tb_size; | ^~~~~~~~~~~~~~~~ libavcodec/hevc_filter.c:742:9: warning: unused variable 'log2_min_pu_size' [-Wunused-variable] 742 | int log2_min_pu_size = s->sps->log2_min_pu_size; | ^~~~~~~~~~~~~~~~ gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavcodec/hevc.o libavcodec/hevc.c In file included from ./libavutil/common.h:412, from libavcodec/hevc.c:28: ./libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ libavcodec/hevc.c: In function 'intra_prediction_unit_default_value': libavcodec/hevc.c:1997:12: warning: unused variable 'k' [-Wunused-variable] 1997 | int j, k; | ^ libavcodec/hevc.c:1988:23: warning: unused variable 'lc' [-Wunused-variable] 1988 | HEVCLocalContext *lc = s->HEVClc; | ^~ libavcodec/hevc.c: In function 'hls_decode_neighbour': libavcodec/hevc.c:2309:32: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] 2309 | if (!ctb_addr_in_slice > 0) | ^ libavcodec/hevc.c:2309:13: note: add parentheses around left hand side expression to silence this warning 2309 | if (!ctb_addr_in_slice > 0) | ^~~~~~~~~~~~~~~~~~ | ( ) libavcodec/hevc.c: In function 'decode_nal_unit': libavcodec/hevc.c:2699:5: warning: case value '48' not in enumerated type 'enum NALUnitType' [-Wswitch] 2699 | case 48: | ^~~~ libavcodec/hevc.c: In function 'ff_hevc_extract_rbsp': libavcodec/hevc.c:2888:39: warning: pointer targets in passing argument 2 of 'av_fast_malloc' differ in signedness [-Wpointer-sign] 2888 | av_fast_malloc(&nal->rbsp_buffer, &nal->rbsp_buffer_size, | ^~~~~~~~~~~~~~~~~~~~~~ | | | int * ./libavutil/mem.h:383:46: note: expected 'unsigned int *' but argument is of type 'int *' 383 | void av_fast_malloc(void *ptr, unsigned int *size, size_t min_size); | ~~~~~~~~~~~~~~^~~~ libavcodec/hevc.c: At top level: libavcodec/hevc.c:283:12: warning: 'get_buffer_sao' defined but not used [-Wunused-function] 283 | static int get_buffer_sao(HEVCContext *s, AVFrame *frame, const HEVCSPS *sps) | ^~~~~~~~~~~~~~ libavcodec/hevc_cabac.c: In function 'ff_hevc_hls_residual_coding': libavcodec/hevc_cabac.c:1478:59: warning: 'sb_type' may be used uninitialized [-Wmaybe-uninitialized] 1478 | int c_rice_p_init = lc->stat_coeff[sb_type] / 4; | ~~~~~~~~~~~~~~^~~~~~~~~ libavcodec/hevc_cabac.c:1399:17: note: 'sb_type' was declared here 1399 | int sb_type; | ^~~~~~~ gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavcodec/hevcpred.o libavcodec/hevcpred.c In file included from ./libavutil/common.h:412, from ./libavutil/avutil.h:289, from ./libavutil/samplefmt.h:24, from libavcodec/avcodec.h:31, from libavcodec/hevc.h:29, from libavcodec/hevcpred.c:23: ./libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ In file included from libavcodec/hevcpred.c:37: libavcodec/hevcpred_template.c: In function 'intra_pred_var': libavcodec/hevcpred_template.c:133:17: warning: unused variable 'x_left_pu' [-Wunused-variable] 133 | int x_left_pu = PU(x0 - 1); | ^~~~~~~~~ libavcodec/hevcpred_template.c:141:17: warning: unused variable 'x_left_pu' [-Wunused-variable] 141 | int x_left_pu = PU(x0 - 1); | ^~~~~~~~~ libavcodec/hevcpred_template.c:150:17: warning: unused variable 'y_top_pu' [-Wunused-variable] 150 | int y_top_pu = PU(y0 - 1); | ^~~~~~~~ libavcodec/hevcpred_template.c:149:17: warning: unused variable 'x_left_pu' [-Wunused-variable] 149 | int x_left_pu = PU(x0 - 1); | ^~~~~~~~~ libavcodec/hevcpred_template.c:155:17: warning: unused variable 'y_top_pu' [-Wunused-variable] 155 | int y_top_pu = PU(y0 - 1); | ^~~~~~~~ libavcodec/hevcpred_template.c:162:17: warning: unused variable 'y_top_pu' [-Wunused-variable] 162 | int y_top_pu = PU(y0 - 1); | ^~~~~~~~ libavcodec/hevcpred_template.c:223:20: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 223 | if (j > 0) | ^ libavcodec/hevcpred_template.c:99:9: warning: unused variable 'min_pu_width' [-Wunused-variable] 99 | int min_pu_width = s->sps->min_pu_width; | ^~~~~~~~~~~~ gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavcodec/hevc_refs.o libavcodec/hevc_refs.c In file included from ./libavutil/common.h:412, from ./libavutil/avutil.h:289, from ./libavutil/samplefmt.h:24, from libavcodec/avcodec.h:31, from libavcodec/internal.h:33, from libavcodec/hevc_refs.c:26: ./libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ libavcodec/hevc_refs.c: In function 'alloc_frame': libavcodec/hevc_refs.c:115:1: warning: label 'fail' defined but not used [-Wunused-label] 115 | fail: | ^~~~ libavcodec/hevc_refs.c:82:12: warning: unused variable 'j' [-Wunused-variable] 82 | int i, j, ret; | ^ libavcodec/hevc_refs.c: In function 'ff_hevc_output_frame': libavcodec/hevc_refs.c:198:22: warning: 'min_idx' may be used uninitialized [-Wmaybe-uninitialized] 198 | if (frame->flags & HEVC_FRAME_FLAG_BUMPING) | ~~~~~^~~~~~~ libavcodec/hevc_refs.c:164:16: note: 'min_idx' was declared here 164 | int i, min_idx, ret; | ^~~~~~~ gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavcodec/hevcdsp.o libavcodec/hevcdsp.c In file included from ./libavutil/common.h:412, from libavcodec/get_bits.h:31, from libavcodec/hevcdsp.h:28, from libavcodec/hevcdsp.c:25: ./libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavcodec/hevc_mvs.o libavcodec/hevc_mvs.c In file included from ./libavutil/common.h:412, from ./libavutil/avutil.h:289, from ./libavutil/samplefmt.h:24, from libavcodec/avcodec.h:31, from libavcodec/hevc.h:29, from libavcodec/hevc_mvs.c:24: ./libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavcodec/hevc_ps.o libavcodec/hevc_ps.c In file included from ./libavutil/common.h:412, from ./libavutil/avutil.h:289, from ./libavutil/imgutils.h:30, from libavcodec/hevc_ps.c:26: ./libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavcodec/hevc_sei.o libavcodec/hevc_sei.c In file included from ./libavutil/common.h:412, from libavcodec/get_bits.h:31, from libavcodec/golomb.h:35, from libavcodec/hevc_sei.c:25: ./libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavcodec/utils.o libavcodec/utils.c In file included from ./libavutil/common.h:412, from ./libavutil/avutil.h:289, from ./libavutil/avassert.h:31, from libavcodec/utils.c:31: ./libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavcodec/cabac.o libavcodec/cabac.c In file included from ./libavutil/common.h:412, from libavcodec/cabac.c:29: ./libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavutil/mem.o libavutil/mem.c gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavutil/buffer.o libavutil/buffer.c gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavutil/log2_tab.o libavutil/log2_tab.c In file included from libavutil/common.h:412, from libavutil/avutil.h:289, from libavutil/avassert.h:31, from libavutil/mem.c:39: libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavutil/frame.o libavutil/frame.c In file included from libavutil/common.h:412, from libavutil/buffer.c:24: libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ In file included from libavutil/common.h:412, from libavutil/avutil.h:289, from libavutil/avassert.h:31, from libavutil/frame.c:21: libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ libavutil/frame.c:67:13: warning: 'free_side_data' defined but not used [-Wunused-function] 67 | static void free_side_data(AVFrameSideData **ptr_sd) | ^~~~~~~~~~~~~~ gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavutil/pixdesc.o libavutil/pixdesc.c In file included from libavutil/common.h:412, from libavutil/avutil.h:289, from libavutil/avassert.h:31, from libavutil/pixdesc.c:25: libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libavutil/md5.o libavutil/md5.c gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DHAVE_AV_CONFIG_H -std=c99 -D_GNU_SOURCE=1 -DUSE_VAR_BIT_DEPTH -c -o libbpg.o libbpg.c gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -DUSE_JCTVC -Wno-unused-but-set-variable -c -o bpgenc.o bpgenc.c In file included from libavutil/md5.c:37: libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ libavutil/md5.c: In function 'av_md5_final': libavutil/md5.c:188:24: warning: pointer targets in passing argument 2 of 'av_md5_update' differ in signedness [-Wpointer-sign] 188 | av_md5_update(ctx, "\200", 1); | ^~~~~~ | | | char * libavutil/md5.c:148:47: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 148 | void av_md5_update(AVMD5 *ctx, const uint8_t *src, int len) | ~~~~~~~~~~~~~~~^~~ libavutil/md5.c:190:28: warning: pointer targets in passing argument 2 of 'av_md5_update' differ in signedness [-Wpointer-sign] 190 | av_md5_update(ctx, "", 1); | ^~ | | | char * libavutil/md5.c:148:47: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 148 | void av_md5_update(AVMD5 *ctx, const uint8_t *src, int len) | ~~~~~~~~~~~~~~~^~~ In file included from ./libavutil/common.h:412, from ./libavutil/avutil.h:289, from ./libavutil/opt.h:31, from libbpg.c:29: ./libavutil/mem.h:185:1: warning: 'alloc_size' attribute ignored on a function returning 'int' [-Wattributes] 185 | av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); | ^~~~~~~~~~~~~ g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc_glue.o jctvc_glue.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/SyntaxElementWriter.o jctvc/TLibEncoder/SyntaxElementWriter.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncSbac.o jctvc/TLibEncoder/TEncSbac.cpp In file included from /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibEncoder/TEncSbac.h:48, from /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46, from /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibEncoder/TEncGOP.h:50, from /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibEncoder/TEncTop.h:51, from /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TAppEncTop.h:44, from jctvc_glue.cpp:6: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)': /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 92 | ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibEncoder/TEncEntropy.h:44, from /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here 57 | class ContextModel | ^~~~~~~~~~~~ g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncBinCoderCABACCounter.o jctvc/TLibEncoder/TEncBinCoderCABACCounter.cpp jctvc_glue.cpp: In function 'int jctvc_encode_picture(uint8_t**, Image*, const HEVCEncodeParams*)': jctvc_glue.cpp:46:49: warning: 'out' directive output may be truncated writing 3 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 46 | snprintf(infilename, sizeof(infilename), "%sout%d.yuv", buf, getpid()); | ^~~ jctvc_glue.cpp:46:13: note: 'snprintf' output between 9 and 1042 bytes into a destination of size 1024 46 | snprintf(infilename, sizeof(infilename), "%sout%d.yuv", buf, getpid()); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jctvc_glue.cpp:47:51: warning: 'out' directive output may be truncated writing 3 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 47 | snprintf(outfilename, sizeof(outfilename), "%sout%d.bin", buf, getpid()); | ^~~ jctvc_glue.cpp:47:13: note: 'snprintf' output between 9 and 1042 bytes into a destination of size 1024 47 | snprintf(outfilename, sizeof(outfilename), "%sout%d.bin", buf, getpid()); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jctvc_glue.cpp:62:44: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=] 62 | snprintf(buf, sizeof(buf),"--InputFile=%s", infilename); | ^~ ~~~~~~~~~~ jctvc_glue.cpp:62:13: note: 'snprintf' output between 13 and 1036 bytes into a destination of size 1024 62 | snprintf(buf, sizeof(buf),"--InputFile=%s", infilename); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ jctvc_glue.cpp:64:48: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1008 [-Wformat-truncation=] 64 | snprintf(buf, sizeof(buf),"--BitstreamFile=%s", outfilename); | ^~ ~~~~~~~~~~~ jctvc_glue.cpp:64:13: note: 'snprintf' output between 17 and 1040 bytes into a destination of size 1024 64 | snprintf(buf, sizeof(buf),"--BitstreamFile=%s", outfilename); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncGOP.o jctvc/TLibEncoder/TEncGOP.cpp In file included from jctvc/TLibEncoder/TEncSbac.h:48, from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46, from jctvc/TLibEncoder/TEncGOP.h:50, from jctvc/TLibEncoder/TEncTop.h:51, from jctvc/TLibEncoder/TEncSbac.cpp:38: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)': /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 92 | ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jctvc/TLibEncoder/TEncEntropy.h:44, from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here 57 | class ContextModel | ^~~~~~~~~~~~ jctvc/TLibEncoder/TEncSbac.cpp: In member function 'Void TEncSbac::xCopyContextsFrom(const TEncSbac*)': jctvc/TLibEncoder/TEncSbac.cpp:1960:9: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 1960 | memcpy(m_contextModels, pSrc->m_contextModels, m_numContextModels*sizeof(m_contextModels[0])); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here 57 | class ContextModel | ^~~~~~~~~~~~ g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncSampleAdaptiveOffset.o jctvc/TLibEncoder/TEncSampleAdaptiveOffset.cpp In file included from jctvc/TLibEncoder/TEncSbac.h:48, from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46, from jctvc/TLibEncoder/TEncGOP.h:50, from jctvc/TLibEncoder/TEncTop.h:51, from jctvc/TLibEncoder/TEncGOP.cpp:42: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)': /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 92 | ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jctvc/TLibEncoder/TEncEntropy.h:44, from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here 57 | class ContextModel | ^~~~~~~~~~~~ In file included from jctvc/TLibEncoder/TEncSbac.h:48, from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46, from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.cpp:38: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)': /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 92 | ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jctvc/TLibEncoder/TEncEntropy.h:44, from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here 57 | class ContextModel | ^~~~~~~~~~~~ jctvc/TLibEncoder/TEncGOP.cpp: In member function 'Void TEncGOP::compressGOP(Int, Int, TComList&, TComList&, std::__cxx11::list&, Bool, Bool, InputColourSpaceConversion, Bool)': jctvc/TLibEncoder/TEncGOP.cpp:1722:86: warning: 'std::mem_fun_t<_Ret, _Tp> std::mem_fun(_Ret (_Tp::*)()) [with _Ret = bool; _Tp = NALUnit]' is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 1722 | AccessUnit::iterator it = find_if(accessUnit.begin(), accessUnit.end(), mem_fun(&NALUnit::isSlice)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /opt/local/gcc13/include/c++/13.4.0/functional:49, from jctvc/TLibEncoder/TEncGOP.cpp:40: /opt/local/gcc13/include/c++/13.4.0/bits/stl_function.h:1371:5: note: declared here 1371 | mem_fun(_Ret (_Tp::*__f)()) | ^~~~~~~ jctvc/TLibEncoder/TEncSampleAdaptiveOffset.cpp: In member function 'Void TEncSampleAdaptiveOffset::getBlkStats(ComponentID, SAOStatData*, Pel*, Pel*, Int, Int, Int, Int, Bool, Bool, Bool, Bool, Bool, Bool, Bool, Bool, Bool)': jctvc/TLibEncoder/TEncSampleAdaptiveOffset.cpp:922:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 922 | if (m_signLineBuf1) delete[] m_signLineBuf1; m_signLineBuf1 = NULL; | ^~ jctvc/TLibEncoder/TEncSampleAdaptiveOffset.cpp:922:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 922 | if (m_signLineBuf1) delete[] m_signLineBuf1; m_signLineBuf1 = NULL; | ^~~~~~~~~~~~~~ jctvc/TLibEncoder/TEncSampleAdaptiveOffset.cpp:925:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 925 | if (m_signLineBuf2) delete[] m_signLineBuf2; m_signLineBuf2 = NULL; | ^~ jctvc/TLibEncoder/TEncSampleAdaptiveOffset.cpp:925:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 925 | if (m_signLineBuf2) delete[] m_signLineBuf2; m_signLineBuf2 = NULL; | ^~~~~~~~~~~~~~ g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncBinCoderCABAC.o jctvc/TLibEncoder/TEncBinCoderCABAC.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncAnalyze.o jctvc/TLibEncoder/TEncAnalyze.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncEntropy.o jctvc/TLibEncoder/TEncEntropy.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncTop.o jctvc/TLibEncoder/TEncTop.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/SEIwrite.o jctvc/TLibEncoder/SEIwrite.cpp In file included from jctvc/TLibEncoder/TEncSbac.h:48, from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46, from jctvc/TLibEncoder/TEncGOP.h:50, from jctvc/TLibEncoder/TEncTop.h:51, from jctvc/TLibEncoder/TEncTop.cpp:39: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)': /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 92 | ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jctvc/TLibEncoder/TEncEntropy.h:44, from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here 57 | class ContextModel | ^~~~~~~~~~~~ g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncPic.o jctvc/TLibEncoder/TEncPic.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncRateCtrl.o jctvc/TLibEncoder/TEncRateCtrl.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/WeightPredAnalysis.o jctvc/TLibEncoder/WeightPredAnalysis.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncSlice.o jctvc/TLibEncoder/TEncSlice.cpp In file included from jctvc/TLibEncoder/TEncSbac.h:48, from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46, from jctvc/TLibEncoder/TEncGOP.h:50, from jctvc/TLibEncoder/TEncTop.h:51, from jctvc/TLibEncoder/TEncSlice.cpp:38: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)': /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 92 | ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jctvc/TLibEncoder/TEncEntropy.h:44, from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here 57 | class ContextModel | ^~~~~~~~~~~~ g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncCu.o jctvc/TLibEncoder/TEncCu.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/NALwrite.o jctvc/TLibEncoder/NALwrite.cpp In file included from jctvc/TLibEncoder/TEncSbac.h:48, from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46, from jctvc/TLibEncoder/TEncGOP.h:50, from jctvc/TLibEncoder/TEncTop.h:51, from jctvc/TLibEncoder/TEncCu.cpp:39: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)': /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 92 | ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jctvc/TLibEncoder/TEncEntropy.h:44, from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here 57 | class ContextModel | ^~~~~~~~~~~~ g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncCavlc.o jctvc/TLibEncoder/TEncCavlc.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncSearch.o jctvc/TLibEncoder/TEncSearch.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibEncoder/TEncPreanalyzer.o jctvc/TLibEncoder/TEncPreanalyzer.cpp In file included from jctvc/TLibEncoder/TEncSbac.h:48, from jctvc/TLibEncoder/TEncSearch.h:50, from jctvc/TLibEncoder/TEncSearch.cpp:41: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)': /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* memcpy(void*, const void*, std::size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 92 | ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jctvc/TLibEncoder/TEncEntropy.h:44, from jctvc/TLibEncoder/TEncSearch.h:49: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here 57 | class ContextModel | ^~~~~~~~~~~~ g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibVideoIO/TVideoIOYuv.o jctvc/TLibVideoIO/TVideoIOYuv.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComWeightPrediction.o jctvc/TLibCommon/TComWeightPrediction.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComLoopFilter.o jctvc/TLibCommon/TComLoopFilter.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComBitStream.o jctvc/TLibCommon/TComBitStream.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComMotionInfo.o jctvc/TLibCommon/TComMotionInfo.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComSlice.o jctvc/TLibCommon/TComSlice.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/ContextModel3DBuffer.o jctvc/TLibCommon/ContextModel3DBuffer.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComPic.o jctvc/TLibCommon/TComPic.cpp In file included from jctvc/TLibCommon/ContextModel3DBuffer.cpp:38: jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)': jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* memcpy(void*, const void*, std::size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 92 | ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jctvc/TLibCommon/ContextModel3DBuffer.h:46: jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here 57 | class ContextModel | ^~~~~~~~~~~~ g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComRdCostWeightPrediction.o jctvc/TLibCommon/TComRdCostWeightPrediction.cpp In file included from /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibEncoder/TEncSbac.h:48, from jctvc/TLibCommon/TComSlice.cpp:41: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)': /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 92 | ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibEncoder/TEncSbac.h:47: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here 57 | class ContextModel | ^~~~~~~~~~~~ g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComTU.o jctvc/TLibCommon/TComTU.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComPicSym.o jctvc/TLibCommon/TComPicSym.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComPicYuv.o jctvc/TLibCommon/TComPicYuv.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComYuv.o jctvc/TLibCommon/TComYuv.cpp jctvc/TLibCommon/TComPicYuv.cpp: In member function 'Void TComPicYuv::destroy()': jctvc/TLibCommon/TComPicYuv.cpp:149:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 149 | if (m_ctuOffsetInBuffer[chan]) delete[] m_ctuOffsetInBuffer[chan]; m_ctuOffsetInBuffer[chan] = NULL; | ^~ jctvc/TLibCommon/TComPicYuv.cpp:149:72: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 149 | if (m_ctuOffsetInBuffer[chan]) delete[] m_ctuOffsetInBuffer[chan]; m_ctuOffsetInBuffer[chan] = NULL; | ^~~~~~~~~~~~~~~~~~~ jctvc/TLibCommon/TComPicYuv.cpp:150:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 150 | if (m_subCuOffsetInBuffer[chan]) delete[] m_subCuOffsetInBuffer[chan]; m_subCuOffsetInBuffer[chan] = NULL; | ^~ jctvc/TLibCommon/TComPicYuv.cpp:150:76: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 150 | if (m_subCuOffsetInBuffer[chan]) delete[] m_subCuOffsetInBuffer[chan]; m_subCuOffsetInBuffer[chan] = NULL; | ^~~~~~~~~~~~~~~~~~~~~ g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComTrQuant.o jctvc/TLibCommon/TComTrQuant.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComInterpolationFilter.o jctvc/TLibCommon/TComInterpolationFilter.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/ContextModel.o jctvc/TLibCommon/ContextModel.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComSampleAdaptiveOffset.o jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/SEI.o jctvc/TLibCommon/SEI.cpp jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp: In destructor 'virtual TComSampleAdaptiveOffset::~TComSampleAdaptiveOffset()': jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:119:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 119 | if (m_signLineBuf1) delete[] m_signLineBuf1; m_signLineBuf1 = NULL; | ^~ jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:119:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 119 | if (m_signLineBuf1) delete[] m_signLineBuf1; m_signLineBuf1 = NULL; | ^~~~~~~~~~~~~~ jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:120:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 120 | if (m_signLineBuf2) delete[] m_signLineBuf2; m_signLineBuf2 = NULL; | ^~ jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:120:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 120 | if (m_signLineBuf2) delete[] m_signLineBuf2; m_signLineBuf2 = NULL; | ^~~~~~~~~~~~~~ jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp: In member function 'Void TComSampleAdaptiveOffset::offsetBlock(ComponentID, Int, Int*, Pel*, Pel*, Int, Int, Int, Int, Bool, Bool, Bool, Bool, Bool, Bool, Bool, Bool)': jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:317:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 317 | if (m_signLineBuf1) delete[] m_signLineBuf1; m_signLineBuf1 = NULL; | ^~ jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:317:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 317 | if (m_signLineBuf1) delete[] m_signLineBuf1; m_signLineBuf1 = NULL; | ^~~~~~~~~~~~~~ jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:320:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 320 | if (m_signLineBuf2) delete[] m_signLineBuf2; m_signLineBuf2 = NULL; | ^~ jctvc/TLibCommon/TComSampleAdaptiveOffset.cpp:320:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 320 | if (m_signLineBuf2) delete[] m_signLineBuf2; m_signLineBuf2 = NULL; | ^~~~~~~~~~~~~~ g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComPrediction.o jctvc/TLibCommon/TComPrediction.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComDataCU.o jctvc/TLibCommon/TComDataCU.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComChromaFormat.o jctvc/TLibCommon/TComChromaFormat.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/Debug.o jctvc/TLibCommon/Debug.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComRom.o jctvc/TLibCommon/TComRom.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComPicYuvMD5.o jctvc/TLibCommon/TComPicYuvMD5.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComRdCost.o jctvc/TLibCommon/TComRdCost.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComPattern.o jctvc/TLibCommon/TComPattern.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TLibCommon/TComCABACTables.o jctvc/TLibCommon/TComCABACTables.cpp gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/libmd5/libmd5.o jctvc/libmd5/libmd5.c g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TAppEncCfg.o jctvc/TAppEncCfg.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/TAppEncTop.o jctvc/TAppEncTop.cpp g++ -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.2\" -g -I/tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc -Wno-sign-compare -c -o jctvc/program_options_lite.o jctvc/program_options_lite.cpp In file included from jctvc/TLibEncoder/TEncSbac.h:48, from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:46, from jctvc/TLibEncoder/TEncGOP.h:50, from jctvc/TLibEncoder/TEncTop.h:51, from jctvc/TAppEncTop.h:44, from jctvc/TAppEncTop.cpp:46: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h: In member function 'Void ContextModel3DBuffer::copyFrom(const ContextModel3DBuffer*)': /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel3DBuffer.h:92:13: warning: 'void* std::memcpy(void*, const void*, size_t)' writing to an object of non-trivially copyable type 'class ContextModel'; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 92 | ::memcpy( m_contextModel, src->m_contextModel, sizeof(ContextModel) * m_sizeXYZ ); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from jctvc/TLibEncoder/TEncEntropy.h:44, from jctvc/TLibEncoder/TEncSampleAdaptiveOffset.h:45: /tmp/work/graphics/libbpg/work/libbpg-0.9.2/jctvc/TLibCommon/ContextModel.h:57:7: note: 'class ContextModel' declared here 57 | class ContextModel | ^~~~~~~~~~~~ ar rcs libbpg.a libavcodec/hevc_cabac.o libavcodec/hevc_filter.o libavcodec/hevc.o libavcodec/hevcpred.o libavcodec/hevc_refs.o libavcodec/hevcdsp.o libavcodec/hevc_mvs.o libavcodec/hevc_ps.o libavcodec/hevc_sei.o libavcodec/utils.o libavcodec/cabac.o libavutil/mem.o libavutil/buffer.o libavutil/log2_tab.o libavutil/frame.o libavutil/pixdesc.o libavutil/md5.o libbpg.o gcc -g -Wl,--gc-sections -o bpgdec bpgdec.o libbpg.a -L/opt/local/lib -Wl,-rpath,/opt/local/lib -lpng -ljpeg -lrt -lm -lpthread ar rcs jctvc/libjctvc.a jctvc/TLibEncoder/SyntaxElementWriter.o jctvc/TLibEncoder/TEncSbac.o jctvc/TLibEncoder/TEncBinCoderCABACCounter.o jctvc/TLibEncoder/TEncGOP.o jctvc/TLibEncoder/TEncSampleAdaptiveOffset.o jctvc/TLibEncoder/TEncBinCoderCABAC.o jctvc/TLibEncoder/TEncAnalyze.o jctvc/TLibEncoder/TEncEntropy.o jctvc/TLibEncoder/TEncTop.o jctvc/TLibEncoder/SEIwrite.o jctvc/TLibEncoder/TEncPic.o jctvc/TLibEncoder/TEncRateCtrl.o jctvc/TLibEncoder/WeightPredAnalysis.o jctvc/TLibEncoder/TEncSlice.o jctvc/TLibEncoder/TEncCu.o jctvc/TLibEncoder/NALwrite.o jctvc/TLibEncoder/TEncCavlc.o jctvc/TLibEncoder/TEncSearch.o jctvc/TLibEncoder/TEncPreanalyzer.o jctvc/TLibVideoIO/TVideoIOYuv.o jctvc/TLibCommon/TComWeightPrediction.o jctvc/TLibCommon/TComLoopFilter.o jctvc/TLibCommon/TComBitStream.o jctvc/TLibCommon/TComMotionInfo.o jctvc/TLibCommon/TComSlice.o jctvc/TLibCommon/ContextModel3DBuffer.o jctvc/TLibCommon/TComPic.o jctvc/TLibCommon/TComRdCostWeightPrediction.o jctvc/TLibCommon/TComTU.o jctvc/TLibCommon/TComPicSym.o jctvc/TLibCommon/TComPicYuv.o jctvc/TLibCommon/TComYuv.o jctvc/TLibCommon/TComTrQuant.o jctvc/TLibCommon/TComInterpolationFilter.o jctvc/TLibCommon/ContextModel.o jctvc/TLibCommon/TComSampleAdaptiveOffset.o jctvc/TLibCommon/SEI.o jctvc/TLibCommon/TComPrediction.o jctvc/TLibCommon/TComDataCU.o jctvc/TLibCommon/TComChromaFormat.o jctvc/TLibCommon/Debug.o jctvc/TLibCommon/TComRom.o jctvc/TLibCommon/TComPicYuvMD5.o jctvc/TLibCommon/TComRdCost.o jctvc/TLibCommon/TComPattern.o jctvc/TLibCommon/TComCABACTables.o jctvc/libmd5/libmd5.o jctvc/TAppEncCfg.o jctvc/TAppEncTop.o jctvc/program_options_lite.o g++ -g -Wl,--gc-sections -o bpgenc bpgenc.o jctvc_glue.o jctvc/libjctvc.a -L/opt/local/lib -Wl,-rpath,/opt/local/lib -lpng -ljpeg -lrt -lm -lpthread