Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119772 - [patch] remove -Werror from madwifi-driver-0.1401.20060117
Summary: [patch] remove -Werror from madwifi-driver-0.1401.20060117
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-21 01:37 UTC by Ryan Hill (RETIRED)
Modified: 2006-01-21 16:06 UTC (History)
0 users

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


Attachments
madwifi-Wno-error.patch (madwifi-Wno-error.patch,430 bytes, patch)
2006-01-21 01:40 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2006-01-21 01:37:16 UTC
compiling a current kernel with gcc-4.1 generates a warning:

include/asm/mpspec_def.h:78: warning: 'packed' attribute ignored for field of type 'unsigned char[5u]'

when emerging madwifi-driver-0.1401.20060117, a -Werror flag in the Makefile causes this warning to kill the build.  

while gcc-4.1 fixes aren't high priority, it might be a good idea to remove the possibility of someone running into this elsewhere.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2006-01-21 01:40:59 UTC
Created attachment 77688 [details, diff]
madwifi-Wno-error.patch
Comment 2 Henrik Brix Andersen 2006-01-21 04:39:56 UTC
Better to get the warning fixed, instead of the symptoms. -Werror is there for a reason.

Please report this compile warning upstream to get a proper fix. Once it is in upstream SVN, I will make a new snapshot for Portage.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2006-01-21 16:06:29 UTC
the warning is external to the madwifi codebase, but i get your drift.