libjpeg-turbo have warnings with newer versions of gcc
SIMD-accelerated libjpeg-compatible JPEG codec library
Brought to you by:
dcommander
We noticed warnings when building libjpeg-turbo for ARM and MIPS with newer gcc version (4.8.2):
libjpeg_turbo/jccolext.c:124:1: warning: always_inline function might not be inlinable [-Wattributes]
The '__attribute__
((always_inline))' does not strictly imply 'inline'. Newer versions of GCC detect this misuse and issue the above warning. Including the missing 'inline' resolves the build warning.
Here is the patch that fixes this issue.
Committed to trunk and branches/1.3.x