I had tried both of those options but it still didnt work. I found
and fixed the problem though. A header i was included had an open
extern "C". closing it fixed the problem.
AC
On 19-Dec-06, at 4:58 PM, Fargo Holiday wrote:
Have you tried adding "using namespace std;" after your include
statements?
Otherwise you'd likely have to access vector using std::vector,
which I find to be a pain in the arse.
Alexander Cohen wrote:
In a plugin im working on, im getting a compilation error that
just does not make sense to me. I understand what it means but i
dont know why its happening. here's the code:
// code for test.cpp
#include <vector.h>
vector<double> gMyVector;
and here's the error i get:
Error: 'vector' is used as a type, but is not defined as a type.
Any ideas why this might be happening?
thanks
Alex
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>