Opened 4 years ago

#1508 new defect

Shift-warnings with 64bit version of HM16.21 with high-bitdepth support when compiling with VS2019

Reported by: iejahPaevei8Gi Owned by:
Priority: major Milestone:
Component: HM RExt Version:
Keywords: Compilation error; Shift Cc: HM-16.21, davidf, karlsharman, jct-vc@…

Description

The following warnings were issued, which prevented due to the by default set /WX flag compilation.

Utilities.vcxproj -> ...\HM-HM-16.21_16bit\lib\vs16\msvc-19.24\x86_64\release\Utilities.lib
...\HM-HM-16.21_16bit\source\Lib\TLibCommon\TComTrQuant.cpp(1364,58): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
...\HM-HM-16.21_16bit\source\Lib\TLibCommon\TComTrQuant.cpp(1364,58): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
...\HM-HM-16.21_16bit\source\Lib\TLibCommon\TComTrQuant.cpp(1401,58): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
...\HM-HM-16.21_16bit\source\Lib\TLibCommon\TComTrQuant.cpp(2041,53): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
...\HM-HM-16.21_16bit\source\Lib\TLibCommon\TComTrQuant.cpp(3417,63): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
...\HM-HM-16.21_16bit\source\Lib\TLibCommon\TComTrQuant.cpp(3443,63): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
...\HM-HM-16.21_16bit\source\Lib\TLibCommon\TComTrQuant.cpp(1401,58): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
...\HM-HM-16.21_16bit\source\Lib\TLibCommon\TComTrQuant.cpp(2041,53): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
...\HM-HM-16.21_16bit\source\Lib\TLibCommon\TComTrQuant.cpp(3417,63): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
...\HM-HM-16.21_16bit\source\Lib\TLibCommon\TComTrQuant.cpp(3443,63): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
TLibCommonAnalyser.vcxproj -> ...\HM-HM-16.21_16bit\lib\vs16\msvc-19.24\x86_64\release\TLibCommonAnalyser.lib

It always seems to be the same issue, but it is unclear if it should be indeed a 32bit or 64bit shift in this moment.

Change History (0)

Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Owner, Subscriber, Participant

  • David Flynn(Subscriber)
  • jct-vc@…(Subscriber)
  • Karl Sharman(Subscriber)
  • karl.sharman@…(Always)
  • Karsten Suehring(Always)
  • Tobias Birnbaum(Reporter)