Hello

I build LDHT in randlm  and have got some errors, look like

MurmurHash3.cpp:81:23: warning: always_inline function might not be
inlinable [-Wattributes]
MurmurHash3.cpp:68:23: warning: always_inline function might not be
inlinable [-Wattributes]
MurmurHash3.cpp:60:23: warning: always_inline function might not be
inlinable [-Wattributes]
MurmurHash3.cpp:55:23: warning: always_inline function might not be
inlinable [-Wattributes]
MurmurHash3.cpp: In function 'void MurmurHash3_x86_32(const void*, int,
uint32_t, void*)':
MurmurHash3.cpp:55:23: error: inlining failed in call to always_inline
'uint32_t getblock(const uint32_t*, int)': function body can be overwritten
at link time


I attach full error log here. My compiler is g++ version 4.7, OS is Ubuntu
server 64bit 13.04, I clean install then install require package such as
git, build essential, libtool, autoconf, google sparse hash, boost thread.
With same source code I compile successful with g++ version 4.6, OS is
ubuntu 64bit 12.04.

I google solution to fix, and one guy recommend me change line (in
MurmurHash3.cpp):

#define FORCE_INLINE __attribute__((always_inline))

to

#define FORCE_INLINE inline __attribute__((always_inline))

do this, I pass this error, however, I receive another error ::close(m_sd)
not found in deconstructor of ~TransportTCP()




-- 
Thu.

Attachment: error.log
Description: Binary data

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to