It's not exactly clear to me what you mean. But next you find the error log:
mktrun from mkt V0.08
mkt V1.00 (2011-01-31)
gather configuration
create temporary files
building library for lpc2148
compile c:\temp\_mkt_temp\_mkt_cpp_pRTOS.cpp
compile c:\temp\_mkt_temp\_mkt_cpp_Button.cpp
compile c:\temp\_mkt_temp\_mkt_cpp_Beeper.cpp
compile c:\temp\_mkt_temp\_mkt_cpp_BeeperHandler.cpp
compile c:\temp\_mkt_temp\_mkt_cpp_Display.cpp
compile c:\temp\_mkt_temp\_mkt_cpp_I2CBus.cpp
compile c:\temp\_mkt_temp\_mkt_cpp_TemperatureSensor.cpp
compile c:\temp\_mkt_temp\_mkt_cpp_EnergySensor.cpp
compile c:\temp\_mkt_temp\_mkt_cpp_EventHandler.cpp
compile c:\temp\_mkt_temp\_mkt_cpp_OperationController.cpp
In file included from OperationController.cpp:3:
OperationController.h:14: error: 'clas' does not name a type
OperationController.cpp:9: error: 'OperationController' has not been declared
OperationController.cpp:15: error: ISO C++ forbids declaration of
'OperationController' with no type
OperationController.cpp: In function 'int OperationController(int, Button&,
Display&, BeeperHandler&, MeasurementHandler&)':
OperationController.cpp:15: error: only constructors take base initializers
OperationController.cpp:21: error: invalid use of 'this' in non-member function
OperationController.cpp:22: error: invalid use of 'this' in non-member function
OperationController.cpp:23: warning: no return statement in function returning
non-void
OperationController.cpp: At global scope:
OperationController.cpp:27: error: 'OperationController' is not a class or
namespace
OperationController.cpp:27: error: '::main' must return 'int'
OperationController.cpp: In function 'int main()':
OperationController.cpp:29: error: 'theButton' was not declared in this scope
OperationController.cpp:29: error: invalid use of 'this' in non-member function
OperationController.cpp:35: error: 'standby' was not declared in this scope
OperationController.cpp:36: error: 'theLcd' was not declared in this scope
OperationController.cpp:37: error: 'btnFlag' was not declared in this scope
OperationController.cpp:37: error: 'wait' was not declared in this scope
OperationController.cpp:45: error: 'stbTimer' was not declared in this scope
OperationController.cpp:46: error: 'theMeasurementHnd' was not declared in this
scope
OperationController.cpp:51: error: 'theBeeperHnd' was not declared in this
scope
OperationController.cpp: At global scope:
OperationController.cpp:65: error: 'OperationController' is not a class or
namespace
OperationController.cpp: In function 'void suspend()':
OperationController.cpp:70: error: 'stbTimer' was not declared in this scope
OperationController.cpp:71: error: cannot call member function 'virtual void
RTOS::task::suspend()' without object
Error: compilation failed

Process completed, Exit Code 0.
Execution time: 00:06.144

The file containing the error is reopened if I start the compilation with
another file as the file currently selected in the editor.

Version 2405 also contains this glitch.

-- 
<http://forum.pspad.com/read.php?6,54269,55753>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem