Trying to understand your post, it sounds like you're using a struct or something similar. Here's the thing, C and C++ are not the same, they never will be. For example:
Code:
struct name{
/* Data members */
};
.
.
.
void function ( name t ); /* Works with C++, not with C */
void function ( struct name t ); /* Works with C and C++ */
C requires the use of the struct tag while C++ makes it optional. Such is the way with user defined types, if your type is a struct then add the struct keyword wherever you instance it and it should compile. Another way is to typedef the struct and use the typedef'd name:
Code:
typedef struct name{
/* Data members */
} NAME;
.
.
.
void function ( NAME t ); /* Works with C and C++ */
-Prelude