ICC 13.0 error with GCC 4.7.0

ICC 13.0 error with GCC 4.7.0


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?


4 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

You should check whether the recent update 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.

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.

Thank you TimP and Jeff. The latest update worked!

Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!