Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147443 - net-dialup/capifwd not compiling on gcc-4.x
Summary: net-dialup/capifwd not compiling on gcc-4.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-09-13 05:00 UTC by Michael Wyraz
Modified: 2006-09-23 00:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!