09/10/2008 5:51 AM
Build errors (and warnings)
I can't get my projects to compile properly when I try to include part of the QFC. For example, just including <qfc/
timerbank> generates compiler errors:
/home/veldhuijzen/ide-4.5-workspace/QFC/public/qfc/timerbank: In member function 'void QNXAPI::TimerBank<T, V, R>::
Cancel(QNXAPI::TimerTree::TimerNode*, sigc::slot<bool, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil,
/home/veldhuijzen/ide-4.5-workspace/QFC/public/qfc/timerbank:127: error: 'priority' was not declared in this scope
/home/veldhuijzen/ide-4.5-workspace/QFC/public/qfc/timerbank:131: error: request for member 'Cancel' in 'iter->second',
which is of non-class type 'QNXAPI::TimerTree*'
This also happens when I try to compile the Serv example. I am using QDE 4.5, and QNX 6.4.0 with gcc 4.2.4.
Any hints on how to solve these problems?
Further there are some warnings about deprecated conversions from string constant to 'char*'.