Vectors and rootcint in 5.17

Hello there,
I have just moved from root 5.14 to 5.17, and have trouble with some
rootcint. It may be related to root.cern.ch/phpBB2/viewtopic.php?t=5380

In order to use vectors of vectors of doubles etc, I had coded VectorSTLLinkDef.h as:

#ifdef CINT

#pragma link off all globals;
#pragma link off all classes;
#pragma link off all functions;

#pragma link C++ class vector+;

#endif

But in root 5/17 of Fedora 7 (gcc 4.1.2) this fails with
vector unknown. I added #include to the .h and it
ALMOST works, but generates a VectorSTLDict.cxx which
also needs #include to be added by hand.
Is there a way round this please?
Thank you,
Bill

[quote]I added #include to the .h [/quote]Which .h did you add it to ? If added it to the linkdef file you also need to add:#pragma extra_include <vector>.

Cheers,
Philippe.

Yes, that fixes it.
Note, it is actually
#pragma extra_include “vector”;
not
#pragma extra_include
But you showed me what to do.
Thank you,
Bill