type specifier missing?!
type specifier missing?!
- Subject: type specifier missing?!
- From: Markian Hlynka <email@hidden>
- Date: Thu, 26 May 2005 18:52:16 -0600
Xcode 1.5, Panther....
sorry if this is a stupid question, but I have:
mytypes.h:
#include "Utilities.h"
typedef struct __Move_T
{
bool null;
bool pass;
//and so forth
} Move_T;
Utilities.cc:
#include "Utilities.h"
#include "mytypes.h"
void myfunction(int start, int* numbers, Move_T* posn, int array_size)
{
}
and
Utilities.h:
#include <stdio.h>
#include "mytypes.h"
void myfunction(int start, int* numbers, Move_T* posn, int array_size);
The compiler is telling me:
error: type specifier omitted for parameter `Move_T'
Why? I don't get it... The only problem I see is that mytypes.h
includes Utilities.h includes mytypes... and this is circular... Is
there any way around this other than putting myfunction in another
file?
Thanks!
Markian
_______________________________________________
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