Error C2059 C2143
-
In struggling to convert a piece of Linux code to Windows, I cannot rid of this errors:
typedef enum {
NULL_RID = 0, // <-- error C2059: syntax error : '('
WORLD_RID = 0,
LOCAL_RID = 0,OWNER\_RID = 0, GROUP\_RID = 1,
....
....
PREACCESS = 0x22a,
} SOME_IDE; // <-- error C2143: syntax error : missing ';' before '}'seem to be something simple, but what ? Can you give me a little help ?
-
In struggling to convert a piece of Linux code to Windows, I cannot rid of this errors:
typedef enum {
NULL_RID = 0, // <-- error C2059: syntax error : '('
WORLD_RID = 0,
LOCAL_RID = 0,OWNER\_RID = 0, GROUP\_RID = 1,
....
....
PREACCESS = 0x22a,
} SOME_IDE; // <-- error C2143: syntax error : missing ';' before '}'seem to be something simple, but what ? Can you give me a little help ?
It looks to be syntactically correct. Maybe how it's used is incorrect, or some piece of code preceding it is incorrect.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
-
In struggling to convert a piece of Linux code to Windows, I cannot rid of this errors:
typedef enum {
NULL_RID = 0, // <-- error C2059: syntax error : '('
WORLD_RID = 0,
LOCAL_RID = 0,OWNER\_RID = 0, GROUP\_RID = 1,
....
....
PREACCESS = 0x22a,
} SOME_IDE; // <-- error C2143: syntax error : missing ';' before '}'seem to be something simple, but what ? Can you give me a little help ?
-
In struggling to convert a piece of Linux code to Windows, I cannot rid of this errors:
typedef enum {
NULL_RID = 0, // <-- error C2059: syntax error : '('
WORLD_RID = 0,
LOCAL_RID = 0,OWNER\_RID = 0, GROUP\_RID = 1,
....
....
PREACCESS = 0x22a,
} SOME_IDE; // <-- error C2143: syntax error : missing ';' before '}'seem to be something simple, but what ? Can you give me a little help ?