Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

ICC 13.0 error with GCC 4.7.0

pranith
Beginner
433 Views

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
Honored Contributor III
433 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.
0 Kudos
Jeffrey_A_Intel
Employee
433 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.
0 Kudos
pranith
Beginner
433 Views
Thank you TimP and Jeff. The latest update worked!
0 Kudos
Reply