Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38822 - pwdb-0.61-r4.ebuild fails with linux headers 2.4.22
Summary: pwdb-0.61-r4.ebuild fails with linux headers 2.4.22
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-20 07:52 UTC by John Kelly
Modified: 2004-04-25 16:44 UTC (History)
0 users

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


Attachments
my patch (pwdb.patch,366 bytes, patch)
2004-01-20 07:54 UTC, John Kelly
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Kelly 2004-01-20 07:52:13 UTC
pwdb Makefile includes -ansi warning flag and thus gcc does not recognize C++ style comments in linux 2.4.22 header file

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 John Kelly 2004-01-20 07:54:07 UTC
Created attachment 24132 [details, diff]
my patch
Comment 2 John Kelly 2004-01-20 07:55:43 UTC
Comment on attachment 24132 [details, diff]
my patch

-ansi warning flag is not needed, use sed to strip it out of Makefile
Comment 3 SpanKY gentoo-dev 2004-04-06 11:59:01 UTC
does pwdb-0.62 fail for you ?
Comment 4 John Kelly 2004-04-25 16:44:07 UTC
I no longer use linux headers 2.4.22, so I don't know whether it fails or not. The problem happens because some people are using C++ comments in kernel patches; any package, like pwdb for example, which specifies the -ansi warning flag in the makefile, will have this same problem when including a kernel header file having any // C++ style commnets.

Using // comments in a kernel header is a bad, sloppy habit; the kernel will never be C++. But since I'm using a 2.6.5 win4lin kernel now, and it has no gentoo patches, I'm no longer afftected.