P
Paolo
Hi all!
As I said in the title, I have a very strange problem compiling a
program Here's the code that gives the problem:
enum letters
{
a = 0,
b,
c
};
typedef struct
{
letters let;
int number;
} someStruct;
It gives me an error before letters in the struct. Any idea on
what generates this error? I have to say that this was a C++ code, but
it doesn't use any class or anything else incompatible with C, at least
I think so.
Thanks for the help!
As I said in the title, I have a very strange problem compiling a
program Here's the code that gives the problem:
enum letters
{
a = 0,
b,
c
};
typedef struct
{
letters let;
int number;
} someStruct;
It gives me an error before letters in the struct. Any idea on
what generates this error? I have to say that this was a C++ code, but
it doesn't use any class or anything else incompatible with C, at least
I think so.
Thanks for the help!