Re: a c++ error
Re: a c++ error
- Subject: Re: a c++ error
- From: "Clark Cox" <email@hidden>
- Date: Thu, 31 May 2007 14:46:59 -0700
On 5/31/07, Paul Archibald <email@hidden> wrote:
I am trying to build a test scaffold for a bunch of existing c++ code. I
have already used the code a part of a jni library, so I know it works. The
problem I am having is creating the test rg.
One of the errors I am getting is pointing at this code:
typedef union /* Describes an argument to a plug-in function */
{
double s; /* Scalar argument */
struct /* Vector argument */
{
const double* a; /* Pointer to first element of vector */
int n; /* Number of elements in vector */
} v;
}
PLUGIN_FUNC_ARG;
error: two or more data types in declaration of 'PLUGIN_FUNC_ARG'
What comes before the 'typedef union'?
What comes at the end of the file included just before this once?
Have you forgotten a semi-colon?
--
Clark S. Cox III
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >a c++ error (From: Paul Archibald <email@hidden>) |