View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001624aMuleMiscpublic2010-09-09 20:322010-09-12 12:03
ReporterFoxDie 
Assigned Tosturedman 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version2.2.6 
Target VersionFixed in Version2.3.1 
Summary0001624: net-p2p/amule-2.2.6 - wxcasframe.cpp:292:58: error: cannot call constructor 'wxFont::wxFont' directly
DescriptionThis 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 InformationIndex: 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.
TagsNo tags attached.
Fixed in Revision10263
Operating SystemAny
Attached Files

- Relationships

-  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 - 2019 MantisBT Team
Powered by Mantis Bugtracker