naxingyu / opensmile

A github repo of the openSMILE feature extraction tool.
http://www.audeering.com/research/opensmile
Other
214 stars 79 forks source link

error: taking address of temporary [-fpermissive] #14

Open Gandhi-Sagar opened 6 years ago

Gandhi-Sagar commented 6 years ago

While Trying to build from source, it throws error:

error: taking address of temporary [-fpermissive]

It occurs in the src/core/smileCommon.hpp at the

#define smileMutexLock(mtx) (pthread_mutex_lock(&(mtx))==0) and #define smileMutexUnlock(mtx) pthread_mutex_unlock(&(mtx))

What is the resolution?

naxingyu commented 6 years ago

Please provide your building tool version.

Best, Xingyu Na

On Sat, May 12, 2018 at 1:19 AM, Gandhi-Sagar notifications@github.com wrote:

While Trying to build from source, it throws error:

error: taking address of temporary [-fpermissive]

It occurs in the src/core/smileCommon.hpp at the

define smileMutexLock(mtx) (pthread_mutex_lock(&(mtx))==0) and

define smileMutexUnlock(mtx) pthread_mutex_unlock(&(mtx))

What is the resolution?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/naxingyu/opensmile/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/ADKpxBf1rVhN_3hKb18JV_VUxdVEN7PRks5txcg3gaJpZM4T7yoI .