
25 May
2004
25 May
'04
10:32 a.m.
Gennadiy Rozental ha escrito:
Ok. Done.
Thanx!
Gennadiy.
P.S. BTW could anybody give some hint on "very short" error message by Intel compiler here: http://tinyurl.com/2c2zy
The problem seems to lie in that basic_cstring<>::npos is an unnamed enum, and ICC does not like it to be passed as a template arg (I don't actually know if this is a conformant diagnostic.) Anyway, the problem goes away (confirmed in ICC 7.1) with the folowing patch in basic_cstring.hpp: 58c58 < enum { npos = -1 }; ---
enum npos_type_ { npos = -1 };
Also, I have checked the patch does not break MSVC 6.5, and I don't think other compilers will have problems with it (it's perfectly legal and innocent C++). Joaquín M López Muñoz Telefónica, Investigación y Desarrollo