|
19b890af
|
2015-08-07T15:01:04
|
|
Import new MurmurHash3 to fix g++ 4.9.2 errors
The code is from http://smhasher.googlecode.com/svn/trunk/
revision 152.
Fixes error:
../../src/third_party/murmurhash/MurmurHash3.cpp:57:41: error: inlining failed in call to always_inline ‘uint32_t getblock(const uint32_t*, int)’: function body can be overwritten at link time
FORCE_INLINE uint32_t getblock ( const uint32_t * p, int i )
The error was previously fixed by adding a pragma to ignore the warning.
The problem the compiler is complaining is that the function is visible
to outside of the compilation unit. This can be fixed by making the
function inline (as in the new version of the MurmurHash3.cpp) or
static.
Change-Id: I7a1262964489d72de8b4707ca2284363c8b46e20
Reviewed-on: https://chromium-review.googlesource.com/291620
Tested-by: Kimmo Kinnunen <kkinnunen@nvidia.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Dongseong Hwang <dongseong.hwang@intel.com>
Tested-by: Dongseong Hwang <dongseong.hwang@intel.com>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
|
|
9d59a044
|
2014-12-03T10:58:59
|
|
Ignore GCC's always inline warnings in MurmurHash.
These were benign and treated as errors. The always inline attribute
may still have some value, so I left it in.
BUG=angle:773
Change-Id: I78c5f792485e8f8d890123ee861cfecf2a5649be
Reviewed-on: https://chromium-review.googlesource.com/232790
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Brandon Jones <bajones@chromium.org>
|
|
ba615196
|
2013-09-24T14:07:39
|
|
Normalize line endings of tracked files in the repository.
TRAC #23896
Signed-off-by: Shannon Woods
|
|
b58cb9b6
|
2012-11-28T19:37:33
|
|
Added a third party library: MurmurHash3.
TRAC #22042
Signed-off-by: Nicolas Capens
Signed-off-by: Daniel Koch
Author: Geoff Lang
git-svn-id: https://angleproject.googlecode.com/svn/branches/dx11proto@1431 736b8ea6-26fd-11df-bfd4-992fa37f6226
|