RE: a c++ error
RE: a c++ error
- Subject: RE: a c++ error
- From: "Luca Ciciriello" <email@hidden>
- Date: Fri, 01 Jun 2007 15:44:23 +0100
Hi.
I'm sorry but I'm not able to reproduce the error you got.
I've created a new project in Xcode 2.4.1 on a PowerPC G4 MacOS X 10.4.9 and
all works fine.
Could you please give me more information about your project configuration?
Is a "pure" c++ project or you are using c++ file mixed with c file or .m
file?
Bye.
Luca
From: Paul Archibald <email@hidden>
To: email@hidden
Subject: a c++ error
Date: Thu, 31 May 2007 14:34:47 -0700
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'
This is in a header file that does not #include any other headers, so I it
seems the error must be in this file. I don't quite understand what the
error is, I assume it has to do with the union having a couple of types
inside it (don't all unions do that?)
What I find especially odd is that this same file, along with all the rest
of the module, are happily compiling in another project! What gives?
_______________________________________________
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
_________________________________________________________________
The next generation of Hotmail is here! http://www.newhotmail.co.uk
_______________________________________________
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