Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314201 - [PATCH] sys-apps/lshw-02.14b does not build with gcc-4.5.0_alpha20100408
Summary: [PATCH] sys-apps/lshw-02.14b does not build with gcc-4.5.0_alpha20100408
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://ezix.org/project/changeset/2147
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.5
  Show dependency tree
 
Reported: 2010-04-09 19:20 UTC by Bernd Buschinski
Modified: 2010-04-11 20:34 UTC (History)
0 users

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


Attachments
fix compile with gcc-4.5 (lshw-gcc45.diff,438 bytes, text/plain)
2010-04-09 19:20 UTC, Bernd Buschinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Buschinski 2010-04-09 19:20:27 UTC
sys-apps/lshw-02.14b does not build with gcc-4.5.0_alpha20100408

make[2]: Entering directory `/var/tmp/portage/sys-apps/lshw-02.14b/work/lshw-B.02.14/src/core'
g++ -g -Wall  -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\"  -c scsi.cc -o scsi.o
scsi.cc: In function 'bool scan_hosts(hwNode&)':
scsi.cc:845:74: error: cannot call constructor 'hwNode::hwNode' directly
scsi.cc:845:74: error:   for a function-style cast, remove the redundant '::hwNode'

Reproducible: Always
Comment 1 Bernd Buschinski 2010-04-09 19:20:52 UTC
Created attachment 227169 [details]
fix compile with gcc-4.5
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2010-04-11 20:34:05 UTC
Fixed upstream, applied to tree.  Thanks.