I'm trying to introduce Cilk into our (largeish) application, which uses STLport instead of the system STL.
When I'm building (Microsoft Visual Studio 2005 SP1) though I get errors that seem to be related to the STL implementation:
1. I was getting an error about a function implementation using _STL::vector when the declaration used std::vector, but changing the former to std::vector fixed this.
2. I'm getting an error that std::hash_map<> doesn't exist, even when #include is in the beginning of the file. (actual error text: error: namespace "std" has no member "hash_map").
(note: the MS version apparently doesn't implement the hash_map - part of why we use STLport)
These seem consistent with the compiler seeing the MS version of the STL header files instead of the STLport ones, although I'm using the same compiler options as with the rest of our C++ code, which has -I early on in the parameter list.
Does the Cilk++ compiler somehow need the MS STL implementation?
Can anyone suggest how to work around this? I can't just switch STL implementations.