rastogitanuj / smhasher

Automatically exported from code.google.com/p/smhasher
0 stars 0 forks source link

[PATCH] Add missing `inline' keyword to FORCE_INLINE #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
More recent versions of gcc (such as 4.7.0) have started warning that functions 
using the FORCE_INLINE attribute could not always be inlined.

In fact, __attribute__((always_inline)) is supposed to be used together with 
`inline' instead of replace it.

The attached patch (verified to work with gcc 4.8.0 and clang 3.2) adds the 
missing keyword.

Original issue reported on code.google.com by raphael.kubo.da.costa@intel.com on 18 Apr 2013 at 12:05

Attachments:

GoogleCodeExporter commented 8 years ago
Patch applied.

Original comment by aappl...@google.com on 10 May 2013 at 6:35

GoogleCodeExporter commented 8 years ago

Original comment by aappl...@google.com on 10 May 2013 at 6:36