
19 Jun
2009
19 Jun
'09
2:34 p.m.
I just tried it on VC10 (beta1), and the original problem does happen if <boost/functional/hash/hash.hpp> is included in a precompiled header and <list> is included outside it.
It's ok if you don't use precompiled headers, and interestingly the new intellisense (which uses the EDG front end instead of the MS one) flags it as an error even though the actual compiler accepts it. I can't reproduce it. I put <boost/functional/hash/hash.hpp> into a
Richard Webb schrieb: precompiled header, and then I try #include "precompiled.h" #include <list> typedef list<int> foo; int main () {} which fails, as expected. What exactly did you try? Cheers, Anteru