[Bug 10071] New: gcc-4.0 doesn't like 2.6.10 drivers/acpi/ec.c
bugzilla-daemon at bugzilla.ubuntu.com
bugzilla-daemon at bugzilla.ubuntu.com
Fri Apr 22 21:44:17 UTC 2005
Please do not reply to this email. You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=10071
Ubuntu | linux
Summary: gcc-4.0 doesn't like 2.6.10 drivers/acpi/ec.c
Product: Ubuntu
Version: unspecified
Platform: i386
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: linux
AssignedTo: fabbione at ubuntu.com
ReportedBy: jb at cs.wcu.edu
QAContact: kernel-bugs at lists.ubuntu.com
(system is current breezy)
in /src/linux:
make
.......
CC drivers/acpi/ec.o
drivers/acpi/ec.c: In function 'acpi_ec_gpe_query':
drivers/acpi/ec.c:520: error: label at end of compound statement
#gcc -v
gcc version 4.0.0 20050413 (prerelease) (Debian 4.0-0pre11)
Fails here (at the 'end:') unless the workaround is in place.
This area of code rewritten in 2.6.11, no dangling label.
atomic_dec(&ec->pending_gpe);
end:
(void)0; //WORKAROUND --jb
}
Don't have my K+R handy. Perhaps trailing labels were always illegal
and gcc-4 decided to get strict, or perhaps gcc-4 is busted.
There are other failures in drivers/acpi.
--
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the kernel-bugs
mailing list