D
desktop
I have this in a .h file which I include in a .cpp file:
typedef struct {
double x;
double y;
} pointz;
But when I compile I get:
graphics/debug.h:13: error: conflicting declaration ‘typedef struct
pointz pointz’
graphics/debug.h:13: error: ‘pointz’ has a previous declaration as
‘typedef struct pointz pointz’
But I have not previously declared 'points'.
typedef struct {
double x;
double y;
} pointz;
But when I compile I get:
graphics/debug.h:13: error: conflicting declaration ‘typedef struct
pointz pointz’
graphics/debug.h:13: error: ‘pointz’ has a previous declaration as
‘typedef struct pointz pointz’
But I have not previously declared 'points'.