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

Bug 147443

Summary: net-dialup/capifwd not compiling on gcc-4.x
Product: Gentoo Linux Reporter: Michael Wyraz <michael.wyraz>
Component: [OLD] GCC PortingAssignee: Gentoo Dialup Developers <net-dialup>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    

Description Michael Wyraz 2006-09-13 05:00:29 UTC
In file src/capifwd.c

  (char *)buf += n;

must change to

  buf = (char *)buf + n;

to compile it on gcc 4.


I tried this on amd64 but this should also affect x86.

Michael.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2006-09-23 00:47:59 UTC
fixed in cvs. thanks!