Hi,
We need more information from you to determine whether it is a bug. At the moment there will be no fix for this issue.
1) May I know if your compilation is using NIOS II or NIOS V?
2) The alt_sem is empty because altera HAL don't support semaphore.
For Micro C/OS-II that supports semaphore, the ALT_SEM(sem) will be defined.
3) Is it also possible for you to try out on the 22.4p version to see whether you are able to avoid this issue?
4) Is this bug a major roadblock for your project? If not, has deleting the semicolon ' ; ' help resolve the error?
Hope to hear on your feedback soon.
Thank you.
Regards,
Kelly