i'm a STL user and when i compile my code under icc 7 (with no option),i get lots of errors like :
/usr/local/Intel/compiler70/ia32/include/stl.h(612): error: name followed by "::" must be a class or namespace name
: public queue
detected during instantiation of class "__Queue<_Container> [with _Container=int]" at line 42 of "my_watershed.cpp"
in my code, line 42 is :
(the code works well with gcc 2.95 and 2.96 on linux SuSE 7.2 and RedHat 7.3)
i'm new with icc
any suggestion to avoid these errors ?
compilation error with intel c++ compilator 7.0 and STL queue