First, Richard, thank you for a great RTOS!
I have compiled and used FreeRTOS v5.04 for an arm lpc2138 using gcc without any problems at all.
Now I am trying to compile with g++ with the hope of eventually writing some c++ code using FreeRTOS. I am not trying to compile with anything other than the base demo code right now. No c++ files or classes or anything. Here is the problem I’m having:
I am getting an invalid conversion error whenever the "listGET_OWNER_OF_NEXT_ENTRY" macro is called and I am having some trouble figuring out where the conversion attempt is taking place…ie…the cause.
The first time the error occurs in my build is on line 1477 in the tasks.c file.
The exact error message I am getting is:
"invalid conversion from ‘void* volatile’ to tskTCB*’ "
The same thing occurs again on lines 1883 and 1886 in the same file whenever that macro is invoked. Similar messages also come up from the croutine.c file when that macro is called.
No doubt its something simple that I’m just not seeing. Any help would be greatly appreciated.