[SOLVED] dev-qt/qtcore-5.5.1 fails to compile

gcc version 4.9.3
glibc version 2.21-r1

ERROR:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g**-v4/ext/concurrence.h:122:34: error: cannot convert
‘’ to ‘short int’ in initialization
__gthread_mutex_t M_mutex =_GTHREAD_MUTEX_INIT;

^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g**-v4/ext/concurrence.h:177:44: error: cannot convert
‘’ to ‘short int’ in initialization
__gthread_recursive_mutex_t M_mutex =_GTHREAD_RECURSIVE_MUTEX_INIT;

^

Attached build log. error happens around lines 803 - 806
Attached the concurrence header file that I think has the problem.

I dont really know hoe to attack this. Can some one point me in the right direction.

concurrence.h (7.43 KB)
build.log (505 KB)

May be wrong ebuild in x-portage overlay? dev-qt/qtcore-5.5.1::x-portage

I ended up creating a backup concurrence header file, and modifying

__gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT;

to

__gthread_mutex_t _M_mutex;

__gthread_recursive_mutex_t _M_mutex = __GTHREAD_RECURSIVE_MUTEX_INIT;

to

__gthread_recursive_mutex_t _M_mutex;

Package now compiles with out failures or errors. Posting what I did in case anyone else runs across this in the future.