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.

 

Go Back   Doom9's Forum > Programming and Hacking > Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd November 2019, 15:23   #1  |  Link
Jamaika
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      ];
Jamaika is offline   Reply With Quote
Old 1st December 2019, 16:19   #2  |  Link
Jamaika
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++)
      |                               ~~^~~~
Jamaika is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.