Joel de Guzman wrote:
John Maddock wrote:
I can reproduce with VC8, I see:
[snip]
and so on. The boost-root/boost/tr1/tr1 directory should be the *first* include, and boost-root/ the second.
As before, including <utility> before the fusion header fixes the errors.
Darned, I must be doing something wrong. Seems the sample Test.cpp Kimon posted is not complete? There's no boost-root/boost/tr1/tr1 include in that Test.cpp at all. Could you please attach a minimal cpp file that exhibits the problem?
And to try and help this along a bit more: this is a cyclic include dependency problem: Fusion includes <utility> which picks up the TR1 version, which then tries to include fusion (for tuples).... Normally this does work (honestly!), but it's a real pain in the you know where to track down the problem when things go wrong. At present some of the fusion headers simply don't get included at all, and I can't figure out why at present :-( John.