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

Bug 314201

Summary: [PATCH] sys-apps/lshw-02.14b does not build with gcc-4.5.0_alpha20100408
Product: Gentoo Linux Reporter: Bernd Buschinski <b.buschinski>
Component: [OLD] UnspecifiedAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://ezix.org/project/changeset/2147
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 296658    
Attachments: fix compile with gcc-4.5

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.