Menu

#56 libjpeg-turbo have warnings with newer versions of gcc

closed-integrated
DRC
None
1
2014-03-27
2014-03-18
No

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.

1 Attachments

Discussion

  • DRC

    DRC - 2014-03-21

    Committed to trunk and branches/1.3.x

     
  • DRC

    DRC - 2014-03-21
    • status: open --> closed
     
  • DRC

    DRC - 2014-03-27
    • status: closed --> closed-integrated
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.