Opened 8 years ago
Closed 7 years ago
#2004 closed task (wontfix)
Update libyuv version to fix compile errors on old gcc versions
Reported by: | nanang | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-2.7 |
Component: | third-party | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: | no |
Description
Current bundled libyuv seems to have build issue on older gcc, e.g:
../../yuv/source/row_common.cc: In function ‘void libyuv::YuvPixel(uint8, uint8, uint8, uint8*, uint8*, uint8*, const libyuv::YuvConstants*)’: ../../yuv/source/row_common.cc:1256: error: invalid types ‘const signed char __vector__[int]’ for array subscript ../../yuv/source/row_common.cc:1257: error: invalid types ‘const signed char __vector__[int]’ for array subscript ../../yuv/source/row_common.cc:1258: error: invalid types ‘const signed char __vector__[int]’ for array subscript ../../yuv/source/row_common.cc:1259: error: invalid types ‘const signed char __vector__[int]’ for array subscript ../../yuv/source/row_common.cc:1260: error: invalid types ‘const short int __vector__[int]’ for array subscript
Also in the source code around the compile error location, there is this warning:
// Caveat GCC 4.2 to 4.7 have a known issue using vectors with const.
The issue seem to be fixed already, as described here. So let's update our libyuv version.
Change History (2)
comment:1 Changed 7 years ago by nanang
comment:2 Changed 7 years ago by nanang
- Resolution set to wontfix
- Status changed from new to closed
It seems that this issue was fixed at some point but for some reason it was reverted back. So the changeset r5633 in this ticket just updates the libyuv version.
Note: See
TracTickets for help on using
tickets.
In 5633: