Parse glibc header file

Mike Frysinger vapier@gentoo.org
Fri Oct 8 17:23:00 GMT 2010


On Friday, October 08, 2010 08:13:23 Davide Italiano wrote:
> I'm running in the problem that gcc -E doesn't remove things like
> __wur or __THROW and I managed it using sed removing one by one the
> patterns but I was looking for a more general way/

works just fine for me.  you need to provide some actual details instead of 
vague statements.

$ grep -c wur /usr/include/unistd.h
46
$ echo '#incude <unistd.h>' | gcc -E - | grep -c wur
0
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-help/attachments/20101008/4f98351b/attachment.sig>


More information about the Libc-help mailing list