Task #132129 - added.err
back to task #132129download
Error: COMPILER_WARNING:
OpenJPH-0.29.0/src/core/coding/ojph_block_encoder.cpp:352:12: warning[-Wodr]: type ‘struct vlc_struct’ violates the C++ One Definition Rule
# 352 | struct vlc_struct {
# | ^
OpenJPH-0.29.0/src/core/coding/ojph_block_encoder_avx2.cpp:403:12: note: a different type is defined in another translation unit
# 403 | struct vlc_struct {
# | ^
OpenJPH-0.29.0/src/core/coding/ojph_block_encoder.cpp:359:11: note: the first difference of corresponding definitions is field ‘tmp’
# 359 | int tmp; //temporary storage of coded bits
# | ^
OpenJPH-0.29.0/src/core/coding/ojph_block_encoder_avx2.cpp:410:12: note: a field of same name but different type is defined in another translation unit
# 410 | ui64 tmp; //temporary storage of coded bits
# | ^
OpenJPH-0.29.0/src/core/coding/ojph_block_encoder.cpp:352:12: note: type ‘int’ should match type ‘ui64’
# 352 | struct vlc_struct {
# | ^
# 350| //
# 351| /////////////////////////////////////////////////////////////////////////
# 352|-> struct vlc_struct {
# 353| //storage
# 354| ui8* buf; //pointer to data buffer
Error: COMPILER_WARNING:
OpenJPH-0.29.0/src/core/coding/ojph_block_encoder.cpp:446:12: warning[-Wodr]: type ‘struct ms_struct’ violates the C++ One Definition Rule
# 446 | struct ms_struct {
# | ^
OpenJPH-0.29.0/src/core/coding/ojph_block_encoder_avx2.cpp:512:12: note: a different type is defined in another translation unit
# 512 | struct ms_struct {
# | ^
OpenJPH-0.29.0/src/core/coding/ojph_block_encoder.cpp:452:11: note: the first difference of corresponding definitions is field ‘max_bits’
# 452 | int max_bits; //maximum number of bits that can be store in tmp
# | ^
OpenJPH-0.29.0/src/core/coding/ojph_block_encoder_avx2.cpp:518:11: note: a field with different name is defined in another translation unit
# 518 | int used_bits; //number of occupied bits in tmp
# | ^
# 444| //
# 445| /////////////////////////////////////////////////////////////////////////
# 446|-> struct ms_struct {
# 447| //storage
# 448| ui8* buf; //pointer to data buffer