Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 14502] New: lshw doesn't compile undet test grimoire with gcc/g++ 4.3.0

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 14502] New: lshw doesn't compile undet test grimoire with gcc/g++ 4.3.0
  • Date: 1 May 2008 18:02:49 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=14502

Summary: lshw doesn't compile undet test grimoire with gcc/g++
4.3.0
Product: Codex
Version: test grimoire
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: utils
AssignedTo: sm-grimoire-bugs AT lists.ibiblio.org
ReportedBy: jevv.cr AT gmail.com


After the upgrade to gcc/g++ 4.3.0 on test grimoire, lshw doesn't compile any
more:

make[2]: Entering directory `/usr/src/lshw-B.02.12.01/src/core'
c++ -g -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\"
-DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c hw.cc -o hw.o
make[2]: Leaving directory `/usr/src/lshw-B.02.12.01/src/core'
make[1]: Leaving directory `/usr/src/lshw-B.02.12.01/src'
hw.cc: In function 'std::string cleanupId(const std::string&)':
hw.cc:78: error: 'strchr' was not declared in this scope
hw.cc: In member function 'std::string hwNode::asXML(unsigned int)':
hw.cc:1316: error: 'PATH_MAX' was not declared in this scope
hw.cc:1318: error: 'version' was not declared in this scope
hw.cc: In constructor 'hw::resource::resource()':
hw.cc:1640: error: 'memset' was not declared in this scope
hw.cc: In member function 'std::string hw::resource::asString(const
std::string&) const':
hw.cc:1782: error: 'strncpy' was not declared in this scope
hw.cc: In member function 'bool hw::resource::operator==(const hw::resource&)
const':
hw.cc:1838: warning: suggest parentheses around && within ||
hw.cc:1843: warning: suggest parentheses around && within ||
make[2]: *** [hw.o] Error 1
make[1]: *** [core] Error 2
make: *** [all] Error 2

I'm also attaching the whole cast log... I'm sorry I'm not helping with any
work around, :(...

Javier.

--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



  • [SM-Grimoire-Bugs] [Bug 14502] New: lshw doesn't compile undet test grimoire with gcc/g++ 4.3.0, bugzilla-daemon, 05/01/2008

Archive powered by MHonArc 2.6.24.

Top of Page