aMule Bug Tracker - aMule
View Issue Details
0001464aMuleMiscpublic2008-12-30 16:282009-01-01 20:45
Daniel_J 
GonoszTopi 
normalminoralways
resolvedfixed 
2.2.3 
SVN 
Linux
0001464: aMule 2.2.3 won't build with GCC 4.4 [patch attached]
GCC 4.4 (currently in prerelease) is very picky about explicitly including standard library headers. aMule 2.2.3 fails to build on GCC 4.4 with the following message:

Compiling Format.cpp
Format.cpp: In member function 'CFormat& CFormat::operator%(void*)':
Format.cpp:432: error: 'uintptr_t' was not declared in this scope
Format.cpp:434: error: 'uintptr_t' was not declared in this scope
make[4]: *** [Format.o] Error 1

The attached patch fixes this.
No tags attached.
patch amule-2.2.3-gcc-4.4.patch (249) 2008-12-30 16:28
http://bugs.amule.org/file_download.php?file_id=292&type=bug
Issue History
2008-12-30 16:28Daniel_JNew Issue
2008-12-30 16:28Daniel_JFile Added: amule-2.2.3-gcc-4.4.patch
2008-12-30 16:28Daniel_JOperating System => Linux
2009-01-01 14:26sturedmanNote Added: 0003029
2009-01-01 14:26sturedmanAssigned To => GonoszTopi
2009-01-01 14:26sturedmanStatusnew => closed
2009-01-01 14:26sturedmanResolutionopen => fixed
2009-01-01 20:45sturedmanStatusclosed => resolved
2009-01-01 20:45sturedmanFixed in Version => SVN

Notes
(0003029)
sturedman   
2009-01-01 14:26   
Patch applied in 9309, thanks for reporting!