Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111077 - alsa-tools-1.0.9-r2 fails to build.
Summary: alsa-tools-1.0.9-r2 fails to build.
Status: RESOLVED DUPLICATE of bug 93123
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-31 18:38 UTC by Ian Kumlien
Modified: 2005-10-31 23:35 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Kumlien 2005-10-31 18:38:25 UTC
The error is:
bitstream.c: In function 'bitstream_fill_current':
bitstream.c:97: error: invalid lvalue in increment

The line is:
current_word = *((uint_32*)buffer_start)++;

I mainly wanted to bounce this at some programmer out there since i'm tired as hell.

Oviusly it doesn't like the uint_32 cast.

Anyways, in my current sleep depraved state, i'm thinking that:
        current_word = 0xffffffff & *buffer_start;
        buffer_start += 4;

Might fix it, since current_word will get a 32 bit value, and +4 will walk 4
bytes. Hurrm, now that i think of it, perhaps we should cast the value.. Anyways
 i hope someone with more experience gets a clue while i'm sleeping =)


Reproducible: Always
Steps to Reproduce:
1. emerge alsa-tools
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-31 23:35:49 UTC

*** This bug has been marked as a duplicate of 93123 ***