Subject:
|
Re: The BrickOS Task Manager
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Tue, 13 Jan 2004 15:54:10 GMT
|
Viewed:
|
3742 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
In lugnet.robotics.rcx.legos, Steve Hassenplug wrote:
> Were you able to compile it as is?
When saved as multi.c, but not when saved as multi.cpp
> What are you trying to do?
Start multiple tasks within a program that uses objects. I could rewrite a
number of parts to use structs instead, but I just wanted to check that there
wasn't some easy solution.
> What errors are you getting?
On the execi lines, it complains about not being able to convert int (*) to int
(*)(something... ) I think it's referring to the fact that in the actual
definition of execi (in unistd.h, I think), that's the parameter type. I don't
understand how it could work as c but not as cpp.
> I tested that with version xx.09, not the latest one.
I'll check the exact version number when I get home... and the exact error
message.
Mike
|
|
Message has 1 Reply: ![](/news/x.gif) | | Re: The BrickOS Task Manager
|
| (...) C++ is more particular with types than regular ol' C. However, I think BrickOS's definition of NULL in mem.h is incorrect (as this was causing one of the problems in the execi call). IMO, it should be defined like so: #ifdef __cplusplus (...) (20 years ago, 13-Jan-04, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
15 Messages in This Thread: ![The BrickOS Task Manager -Michael Purvis (4-Jan-04 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: The BrickOS Task Manager -Bapt Denaeyer (4-Jan-04 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: The BrickOS Task Manager -Michael Purvis (5-Jan-04 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/246.gif) ![Re: The BrickOS Task Manager -Ross Crawford (5-Jan-04 to lugnet.robotics.rcx.legos)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: The BrickOS Task Manager -Bapt Denaeyer (5-Jan-04 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: The BrickOS Task Manager -Ralph Clark (5-Jan-04 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: The BrickOS Task Manager -Joseph Woolley (6-Jan-04 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: The BrickOS Task Manager -Michael Purvis (10-Jan-04 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: The BrickOS Task Manager -Steve Hassenplug (10-Jan-04 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/246.gif) ![Re: The BrickOS Task Manager -Michael Purvis (10-Jan-04 to lugnet.robotics.rcx.legos)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: The BrickOS Task Manager -Michael Purvis (12-Jan-04 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![Re: The BrickOS Task Manager -Steve Hassenplug (13-Jan-04 to lugnet.robotics.rcx.legos)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: The BrickOS Task Manager -Mark Riley (13-Jan-04 to lugnet.robotics.rcx.legos)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: The BrickOS Task Manager -Florian Schmidt (5-Jan-04 to lugnet.robotics.rcx.legos)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|