Summary: | alsa-tools-1.0.8-r1 fails to compile with gcc-4.0.0 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bjarke Istrup Pedersen (RETIRED) <gurligebis> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | ian.kumlien |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Bjarke Istrup Pedersen (RETIRED)
![]() Bjarke: Guess why this gcc version is still hard masked. You should come with a patch instead marking this as a blocker. the offending code is this: current_word = *((uint_32*)buffer_start)++; you cant type cast a pointer and then increment the result in gcc-4 ... would this work: current_word = *((uint_32*)buffer_start); current_word++; Found a patch for another program on the net, they seemed to do it this way, but maybe I'm wrong. Or should it be the other way around? feel free to reopen if you're about to provide a patch for this problem *** Bug 111077 has been marked as a duplicate of this bug. *** |