Error C141 Syntax Error
Contents |
30 Days In the Last 90 Days In the Last 6 Months Home/Discussion Forum error C141: syntax error near 'void' syntax error near 'unsigned' Next Thread | Thread List | Previous
Error C202
Thread Start a Thread | Settings Details Message Read-Only Authordanish p. Posted25-Oct-2006 10:13 GMT ToolsetC51 error C141: syntax error near 'unsigned' danish p. hi there, i have struct with the problem.in the multiplexing of the 7-segment display. as i complited the 7-segment display multiplexing. prog.is working properly. but when i moved to the next some advance step it give's the above msg. i think the problem is in the variable passing between function. because as i try to pass the local data to globle side can any one explain me the passing the value's between two function. the function returning the value is in the main function and the function which recive's the value is out of the main function the function which recive's the value is out of the main function is the part of the interrupt routine the function which sending or returning the value is the part of main function Read-Only AuthorAndy Neil Posted25-Oct-2006 10:27 GMT ToolsetC51 It's a syntax error Andy Neil "i think the problem is in the variable passing between function." Why do you think that? The message is a syntax error; ie, what you have written is not valid C51 syntax. http://dictionary.cambridge.org/define.asp?key=80868&dict=CALD http://www.keil.com/support/man/docs/c51/c51_c141.htm This could be a simple typo - eg, missing semicolon or spelling mistake. Note that it says "near" - this probably means that the error is somewhere before the word "unsigned" Read-Only Authordanish p. Posted25-Oct-2006 10:38 GMT ToolsetC51 RE: It's a syntax error danish p. i checked all the thing's and only after that posted the msg. This could be a simple typo - eg, missing
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up KEIL for C51 and have some problems with error like syntax error near unsigned up vote 1 down vote favorite I am working with http://www.keil.com/forum/8631 Keil for 80C51 and I use C51 for coding. However, I have some problem in my compiling. My code is like following: #include