From: <de...@on...> - 2005-10-18 21:27:48
|
I get the following compiling error with GCC 3.3.5 and KTechLab revision 502: picitem.cpp: In constructor `PicItem::PicItem(ICNDocument*, bool, const c= har*, MicroSettings*)': picitem.cpp:259: error: syntax error before `+' token picitem.cpp:262: error: no matching function for call to `PinItem::PinIte= m( FlowCodeDocument*, QPoint (&)(...), bool, PinSettings*&)' picitem.h:25: error: candidates are: PinItem::PinItem(const PinItem&) picitem.cpp:37: error: PinItem::PinItem(FlowCodeDocument*= , QPoint, bool, PinSettings*) picitem.cpp:267: error: syntax error before `+' token picitem.cpp:270: error: no matching function for call to `PinItem::PinIte= m( FlowCodeDocument*, QPoint (&)(...), bool, PinSettings*&)' picitem.h:25: error: candidates are: PinItem::PinItem(const PinItem&) picitem.cpp:37: error: PinItem::PinItem(FlowCodeDocument*= , QPoint, bool, PinSettings*) make[3]: *** [picitem.o] Error 1 |
From: David S. <da...@bl...> - 2005-10-19 13:10:54
|
Interesting bug (doesn't happen with gcc 4.0.2). I can't commit an update to subversion at the moment (should be able to in a few hours though...), so to make it compile, in src/picitem.cpp, on lines 259 and 267, you can replace "int(x())" with "int(this->x())". > I get the following compiling error with GCC 3.3.5 and KTechLab revision > 502: > > > > picitem.cpp: In constructor `PicItem::PicItem(ICNDocument*, bool, const > char*, > MicroSettings*)': > picitem.cpp:259: error: syntax error before `+' token > picitem.cpp:262: error: no matching function for call to > `PinItem::PinItem( > FlowCodeDocument*, QPoint (&)(...), bool, PinSettings*&)' > picitem.h:25: error: candidates are: PinItem::PinItem(const PinItem&) > picitem.cpp:37: error: PinItem::PinItem(FlowCodeDocument*, > QPoint, bool, PinSettings*) > picitem.cpp:267: error: syntax error before `+' token > picitem.cpp:270: error: no matching function for call to > `PinItem::PinItem( > FlowCodeDocument*, QPoint (&)(...), bool, PinSettings*&)' > picitem.h:25: error: candidates are: PinItem::PinItem(const PinItem&) > picitem.cpp:37: error: PinItem::PinItem(FlowCodeDocument*, > QPoint, bool, PinSettings*) > make[3]: *** [picitem.o] Error 1 > > |