Community
cancel
Showing results for 
Search instead for 
Did you mean: 
pranith
Beginner
72 Views

ICC 13.0 error with GCC 4.7.0

Hi,

I am trying to compile my project using ICC 13.0 and am getting the following error:

/usr/include/c++/4.7/ext/concurrence.h(147): error: data member initializer is not allowed
      __gthread_mutex_t _M_mutex = __GTHREAD_MUTEX_INIT;

This is a Debian system with gcc 4.7.1 installed. Is this a known error? Is there any workaround?

THanks!

0 Kudos
3 Replies
TimP
Black Belt
72 Views

You should check whether the recent update 13.0.1.117 helps (if you are using the older one); if not, please provide a reproducing example either here or in a problem report on premier.intel.com.
Jeffrey_A_Intel
Employee
72 Views

Try 13.0 update #1. We believe the problem should be fixed in that update. However, if that does not fix the problem, do as Tim suggests and submit an example which demonstrates the problem.
pranith
Beginner
72 Views

Thank you TimP and Jeff. The latest update worked!