[LLVMdev] Build errors on trunk for about a week now.

OvermindDL1 overminddl1 at gmail.com
Fri Dec 5 13:55:41 PST 2008


I did some looking up on that const thing.  Apparently that const is
'supposed' to be there, but it is not strictly required.  However
there is a bug in VS2k3 (VS7) through VS2k8 (VS9) (no clue if it has
been fixed yet) that requires it to be there when the functor is being
called through a const qualified interface, such as through stl
containers.  They state that a bug report has been filed, but
regardless of if it is filled or not, in such functors you are
'supposed' to have a const there anyway.  No clue what the standard
actually says on this, but what they said makes sense...



More information about the llvm-dev mailing list