
23 Nov
2008
23 Nov
'08
7:16 p.m.
Joel Falcou wrote:
Eric Niebler a écrit :
Please post the code that reproduces the error. I'll try to get ICC set up on my Linux box.
Here is a stripped down code that exhibits the bug (see attached file)
Command-line invocation is inside the main.cpp
Looks like the intel compiler has a bug with ADL. You can work around it by changing the definition of cmplx to this: template<class T, typename Dummy = bp::is_proto_expr> struct cmplx ... Note the extra Dummy template parameter, which will cause ADL to find the operators defined in Proto's namespace. HTH, -- Eric Niebler BoostPro Computing www.boostpro.com