On 30.10.2010 18:43, Daniel Shahaf wrote:
Stefan Fuhrmann wrote on Sat, Oct 30, 2010 at 17:57:58 +0200:
o.k. I now wrote my own filter to cope with the 618 "standard warnings":
#!/bin/sh
(make -j> /dev/null) 2>&1 | grep -v " In function " | grep -v " in
statically " | grep -v " is deprecated " | grep -v "/string3.h:82" |
grep -v "/sem_open.c:330"
Not a beauty but it does its job (grep -E did not).
Thanks.
Two notes though:
1. You can set -DSVN_DEPRECATED= in your CFLAGS to eliminate the
deprecation warnings. e.g.,
./configure CFLAGS="$CFLAGS -DSVN_DEPRECATED="
(I also pass -Wformat=0)
Thanks for the info.
2. Is this GNU make? If so, 'make -sj 2>&1|' might be better than the
subshell construct. ('-s' suppresses make's printing of commands as
they're being executed)
I had tried make -js which failed (for reasons that I
*now* understand but did not back then) and therefore
used the sub-shell construct.
-- Stefan^2.