Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
22nd November 2019, 15:23 | #1 | Link |
Registered User
Join Date: Jul 2015
Posts: 705
|
Problem with GCC 10
GCC 10 has strange messages when compiling the VVC codec:
http://msystem.waw.pl/x265/mingw-gcc1000-20191116.7z Code:
UnitTools.cpp: In function 'void PU::getInterMergeCandidates(const PredictionUnit&, MergeCtx&, int, const int&)': UnitTools.cpp:1323:50: warning: writing 1 byte into a region of size 0 [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=stringop-overflow=] 1323 | mrgCtx.interDirNeighbours [uiArrayAddr ] = 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from UnitTools.h:43, from UnitTools.cpp:38: ContextModelling.h:488:17: note: destination object declared here 488 | unsigned char interDirNeighbours[ MRG_MAX_NUM_CANDS ]; | ^~~~~~~~~~~~~~~~~~ UnitTools.cpp:1324:50: warning: writing 1 byte into a region of size 0 [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=stringop-overflow=] 1324 | mrgCtx.GBiIdx [uiArrayAddr ] = GBI_DEFAULT; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from UnitTools.h:43, from UnitTools.cpp:38: ContextModelling.h:487:17: note: destination object declared here 487 | uint8_t GBiIdx [ MRG_MAX_NUM_CANDS ]; | ^~~~~~ UnitTools.cpp:1330:58: warning: writing 1 byte into a region of size 0 [ttps://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=stringop-overflow=] 1330 | mrgCtx.interDirNeighbours [ uiArrayAddr ] = 3; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from UnitTools.h:43, from UnitTools.cpp:38: ContextModelling.h:488:17: note: destination object declared here 488 | unsigned char interDirNeighbours[ MRG_MAX_NUM_CANDS ]; |
1st December 2019, 16:19 | #2 | Link |
Registered User
Join Date: Jul 2015
Posts: 705
|
Code:
In member function 'virtual int LibRaw::adobe_coeff(unsigned int, const char*, int)': cc1plus.exe: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] In file included from dcraw_common.cpp:25: tables/colordata.cpp:1695:33: note: within this loop 1695 | for (raw_color = j = 0; j < 12; j++) | ~~^~~~ |
Thread Tools | Search this Thread |
Display Modes | |
|
|