|
Boost : |
From: Lars Gullik Bjønnes (larsbj_at_[hidden])
Date: 2002-05-21 18:20:24
Thomas Witt <witt_at_[hidden]> writes:
| Doug,
>
| just in case you did not notice this by now. There is a terrible nameclash
| between Trolltechs Qt library and the signals library.
>
| Trolltech introduced the new keyword "signals" for there sig/slot
| implementation. So far so bad.
>
| The problem is there is no keyword "signals" in C++, so what to do?
| Easy, first parse the code by a prepreprocessor called moc, then use the cpp
| to remove the non-c++ keyword. How?, just #define signals protected.
|
| Can you see what happens next ?
They (TT/QT) had the excant same problem with a define "emit" that
they introduced as a keyword.
| Yes I am going to ask TT to fix this. No I don't think they are going to do it
| and anyway it will take time.
>
| Any idea how to work around this problem?
#undef signals
in the proper place perhaps?
-- Lgb
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk