opensmile icon indicating copy to clipboard operation
opensmile copied to clipboard

error: taking address of temporary [-fpermissive]

Open Gandhi-Sagar opened this issue 6 years ago • 1 comments

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?

Gandhi-Sagar avatar May 11 '18 17:05 Gandhi-Sagar

Please provide your building tool version.

Best, Xingyu Na

On Sat, May 12, 2018 at 1:19 AM, Gandhi-Sagar [email protected] 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 .

naxingyu avatar May 14 '18 05:05 naxingyu