[SM-Grimoire-Bugs] [Bug 14501] New: acpitool doesn't compile on test grimoire with gcc/g++ 4.3.0

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Thu May 1 13:58:13 EDT 2008


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

           Summary: acpitool doesn't compile on 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


The acpitool spell doesn't want to compile after the gcc/g++ upgrade to 4.3.0 on
the test grimoire:

make[2]: Entering directory `/usr/src/acpitool-0.4.7/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..     -march=pentium3 -pipe -O3 -MT main.o -MD
-MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
	then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit
1; fi
main.cpp: In function 'int main(int, char**)':
main.cpp:142: error: 'atoi' was not declared in this scope
main.cpp:155: error: 'atoi' was not declared in this scope
main.cpp:158: error: 'atoi' was not declared in this scope
main.cpp:164: error: 'atoi' was not declared in this scope
main.cpp:170: error: 'atoi' was not declared in this scope
main.cpp:177: error: 'atoi' was not declared in this scope
main.cpp:213: error: 'atoi' was not declared in this scope
make[2]: Leaving directory `/usr/src/acpitool-0.4.7/src'

Might be a metter of a header missing or something...  I'm attaching the casting
log.  I'm sorry I'm not providing any solution at this point, :(.

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.



More information about the SM-Grimoire-Bugs mailing list