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.
Created attachment 24132 [details, diff] my patch
Comment on attachment 24132 [details, diff] my patch -ansi warning flag is not needed, use sed to strip it out of Makefile
does pwdb-0.62 fail for you ?
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.