ARM Technical Support Knowledge Articles

CAN'T DEFINE TASKS IN EC++

Applies to: RTX166 Tiny Real-time Kernel

Answer


Information in this article applies to:


SYMPTOM

When I try to define an RTX166 task, in a .cpp file, the compiler complains

error: expected a {

CAUSE

The EC++ compiler functions as an add-on to the C166 compiler, not as a stand-alone tool. All output from EC++ gets run through C166 before linking.

RESOLUTION

Simply define your _task_ and interrupt functions in a .C file. Everything winds up in the C compiler eventually.

SEE ALSO

Article last edited on: 2006-10-16 02:37:42

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential