| Anonymous | Login | Signup for a new account | 2025-10-24 13:26 CEST | ![]() |
| My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0001624 | aMule | Misc | public | 2010-09-09 20:32 | 2010-09-12 12:03 | ||||
| Reporter | FoxDie | ||||||||
| Assigned To | sturedman | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | resolved | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | 2.2.6 | ||||||||
| Target Version | Fixed in Version | 2.3.1 | |||||||
| Summary | 0001624: net-p2p/amule-2.2.6 - wxcasframe.cpp:292:58: error: cannot call constructor 'wxFont::wxFont' directly | ||||||||
| Description | This happens with gcc 4.5, glibc 2.12.1-r1 (gentoo amd64): Compiling wxcascte.cpp wxcasframe.cpp: In member function 'wxImage* WxCasFrame::GetStatImage() const': wxcasframe.cpp:292:58: error: cannot call constructor 'wxFont::wxFont' directly wxcasframe.cpp:292:58: error: for a function-style cast, remove the redundant '::wxFont' make[5]: *** [wxcasframe.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [all-recursive] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 /usr/libexec/paludis/utils/emake: emake returned error 2 | ||||||||
| Additional Information | Index: wxcasframe.cpp =================================================================== --- wxcasframe.cpp (revision 10262) +++ wxcasframe.cpp (revision 10263) @@ -285,11 +285,11 @@ #ifdef __WXMSW__ memdc. - SetFont ( wxFont::wxFont ( 6, wxSWISS, wxNORMAL, wxBOLD ) ); + SetFont ( wxFont ( 6, wxSWISS, wxNORMAL, wxBOLD ) ); #else memdc. - SetFont ( wxFont::wxFont ( 8, wxSWISS, wxNORMAL, wxBOLD ) ); + SetFont ( wxFont ( 8, wxSWISS, wxNORMAL, wxBOLD ) ); #endif memdc. | ||||||||
| Tags | No tags attached. | ||||||||
| Fixed in Revision | 10263 | ||||||||
| Operating System | Any | ||||||||
| Attached Files | |||||||||
Notes |
|
|
(0003489) sturedman (developer) 2010-09-12 12:03 |
Fixed in SVN. If you want to build 2.2.6 wxCas, just remove the silly 'wxFont::' from the two lines that give the error. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2010-09-09 20:32 | FoxDie | New Issue | |
| 2010-09-09 20:32 | FoxDie | Operating System | => Any |
| 2010-09-12 12:03 | sturedman | Fixed in Revision | => 10263 |
| 2010-09-12 12:03 | sturedman | Note Added: 0003489 | |
| 2010-09-12 12:03 | sturedman | Assigned To | => sturedman |
| 2010-09-12 12:03 | sturedman | Severity | crash => major |
| 2010-09-12 12:03 | sturedman | Reproducibility | have not tried => always |
| 2010-09-12 12:03 | sturedman | Status | new => resolved |
| 2010-09-12 12:03 | sturedman | Resolution | open => fixed |
| 2010-09-12 12:03 | sturedman | Fixed in Version | => 2.3.1 |
| 2010-09-12 12:03 | sturedman | Additional Information Updated | |
| Copyright © 2000 - 2025 MantisBT Team |