Community
cancel
Showing results for 
Search instead for 
Did you mean: 
chkone
Beginner
86 Views

tbb::mutex & C1001 An internal error has occurred in the compiler

Hello,

I develop in C++ with VS2010 - SP1. To parallelize a part of my program I use tbb, parallel_for, and other stuff included in the library.
Now I need to use a mutex to securise my program.

But just a declaration of tbb::mutex Visual C++ say me :
error C1001: An internal error has occurred in the compiler.
And if I comment this line:
tbb::mutex oMutex;
The code compile without any Error or Warning.

Have you an idea to fix this trouble?

Thanks

Regards
0 Kudos
2 Replies
86 Views

Hello,
is it reproducible in simple case or just complex code? I haven't seen the issue before.
--Vladimir
chkone
Beginner
86 Views

Indeed when I was comment my declaration of tbb::mutex the source code don't compile but when I revert and add my tbb::mutex the program compile. This an other problem not from tbb::mutex off course.

Thanks
Reply