ICC 13.0 error with GCC 4.7.0

ICC 13.0 error with GCC 4.7.0

pranith's picture

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!

4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
TimP (Intel)'s picture

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.

Jeff Arnold (Intel)'s picture

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's picture

Thank you TimP and Jeff. The latest update worked!

Login to leave a comment.