identifier 'mode_t'
-
I have met an error that I cannot rid of:
error C2061: syntax error : identifier 'mode_t'
The fact is that this 'mode_t' is not declared in my sources, and I haven't founded on internet ... how can I get rid of this error ? Thank you for any hint, any suggestion !
-
I have met an error that I cannot rid of:
error C2061: syntax error : identifier 'mode_t'
The fact is that this 'mode_t' is not declared in my sources, and I haven't founded on internet ... how can I get rid of this error ? Thank you for any hint, any suggestion !
_Flaviu wrote:
I haven't founded on internet ...
[mode_t - Google Search](https://www.google.com/search?q=mode\_t&oq=mode\_t&aqs=chrome..69i57&sourceid=chrome&ie=UTF-8)
-
_Flaviu wrote:
I haven't founded on internet ...
[mode_t - Google Search](https://www.google.com/search?q=mode\_t&oq=mode\_t&aqs=chrome..69i57&sourceid=chrome&ie=UTF-8)
-
I have met an error that I cannot rid of:
error C2061: syntax error : identifier 'mode_t'
The fact is that this 'mode_t' is not declared in my sources, and I haven't founded on internet ... how can I get rid of this error ? Thank you for any hint, any suggestion !
_Flaviu wrote:
how can I get rid of this error ?
Use an
int
."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
-
Thank you Victor. Might be the late hour, I have seen that page, and I included
no change ...
I would guess that in some other platform it is used to refer to the following line of the stat type:
unsigned short st\_mode;
Which you could verify by checking the original source. So you could just add the following above your includes
typedef unsigned short mode_t;