realbasic-plugins
[Top] [All Lists]

[OT] weird compildation problem

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: [OT] weird compildation problem
From: Alexander Cohen <alexander dot cohen at coficio dot com>
Date: Tue, 19 Dec 2006 14:10:59 -0500
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
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>


<Prev in Thread] Current Thread [Next in Thread>