Comments (8)
Do you have uint8_t and uint16_t in your compiler libs? I guess you are missing an include
from cocoos.
You are correct about the os_msgqueue however os_task.c has a different error.
from cocoos.
You are correct about the os_msgqueue however os_task.c has a different error.
maybe you should check what happens in os_task.c line 74,
in my file it is "void os_task_init( void ) {", should not have any word like " token -> 'tcb' ;"
from cocoos.
Have you solved this?
I'm sorry I haven't had time to look into this.
from cocoos.
@ZanoZ I believe "token ->" came from the SDCC compiler itself.
In the compilation process, the compiler will parse and "tokenize" characters into "tokens", hence the message as shown.
The error here reported as line 74 potentially refers to "tcb" on line 77.
The error about "task" on line 77 potentially refers to "task" on line 80.
The line shift might be due to the erroneous internal working of the preprocessor and error reporting module of the compiler.
from cocoos.
Maybe, just maybe, the compiler got confused on the "tcb" token because of
typedef struct tcb tcb;
in os_task.h
from cocoos.
well, the IDE I use is MPLABX and the compiler is xc8 V1.4x, I don't have faced with this error . I don't know adityaxavier have solved the problem or not.
Thanks MidnightWonderer for you comment.
I have already compiled the code successful, But still in debuging...
from cocoos.
@adityaxavier are you sure that the compiler has everything it needs in the makefile? it looks like it is missing some files...
from cocoos.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocoos.