Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 253143

Summary: net-p2p/amule-2.2.3 won't compile with GCC 4.4 [patch attached]
Product: Gentoo Linux Reporter: Daniel J. <sleeperseven>
Component: [OLD] GCC PortingAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 249226    
Attachments: Fix for GCC 4.4

Description Daniel J. 2008-12-30 15:20:15 UTC
When building net-p2p/amule-2.2.3 using GCC 4.4, build fails with this error:

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.
Comment 1 Daniel J. 2008-12-30 15:20:45 UTC
Created attachment 176875 [details, diff]
Fix for GCC 4.4
Comment 2 Daniel J. 2008-12-30 15:29:26 UTC
Patch submitted upstream:
http://www.amule.org/abugs/view.php?id=1464
Comment 3 Daniel J. 2009-01-01 23:56:31 UTC
Fixed in upstream SVN revision 9309
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2009-01-24 18:26:51 UTC
*** Bug 255783 has been marked as a duplicate of this bug. ***
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2009-01-24 18:37:32 UTC
Added, thanks for the patch