Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214171 - sys-power/acpitool-0.4.7-r1 fails w/gcc 4.3.0
Summary: sys-power/acpitool-0.4.7-r1 fails w/gcc 4.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 215591 (view as bug list)
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-03-21 21:21 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-07-17 01:56 UTC (History)
3 users (show)

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


Attachments
acpitool-gcc43.patch (acpitool-gcc43.patch,10.04 KB, patch)
2008-03-21 21:23 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2008-03-21 21:21:52 UTC
acpitool.cpp: In function ‘int Toggle_WakeUp_Device(int, int)’:
acpitool.cpp:511: warning: deprecated conversion from string constant to ‘char*’
acpitool.cpp:533: error: ‘strlen’ was not declared in this scope
acpitool.cpp:535: error: ‘bzero’ was not declared in this scope
acpitool.cpp:536: error: ‘strncpy’ was not declared in this scope
acpitool.cpp: In function ‘int Do_Suspend(int)’:
acpitool.cpp:577: warning: deprecated conversion from string constant to ‘char*’
acpitool.cpp:578: warning: deprecated conversion from string constant to ‘char*’
acpitool.cpp:584: warning: deprecated conversion from string constant to ‘char*’
acpitool.cpp:585: warning: deprecated conversion from string constant to ‘char*’
acpitool.cpp:588: warning: deprecated conversion from string constant to ‘char*’
acpitool.cpp:591: warning: deprecated conversion from string constant to ‘char*’
acpitool.cpp:592: warning: deprecated conversion from string constant to ‘char*’
make[2]: *** [acpitool.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-power/acpitool-0.4.7-r1/work/acpitool-0.4.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-power/acpitool-0.4.7-r1/work/acpitool-0.4.7'
make: *** [all] Error 2


Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-03-21 21:23:05 UTC
Created attachment 146785 [details, diff]
acpitool-gcc43.patch

Fixes the problem.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2008-03-21 21:23:57 UTC
For the record, this was snatched from Fedora:
http://cvs.fedoraproject.org/viewcvs/devel/acpitool/acpitool-0.4.7-gcc43.patch?rev=1.1&view=log
Comment 3 David Carlos Manuelda 2008-04-02 17:16:54 UTC
Please, make it block bug #198121 as I don't have anough permissions to do that (that's what suggested in that bug).
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2008-07-17 01:56:08 UTC
*** Bug 215591 has been marked as a duplicate of this bug. ***