ICC 13.0 error with GCC 4.7.0

ICC 13.0 error with GCC 4.7.0

Bild des Benutzers pranith

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 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers TimP (Intel)

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.

Bild des Benutzers Jeff Arnold (Intel)

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.

Bild des Benutzers pranith

Thank you TimP and Jeff. The latest update worked!

Melden Sie sich an, um einen Kommentar zu hinterlassen.