Hi Joachim,

> The problem is that the -Wcolumns=... doesn't seem to override the pragmas in
> the source.

Yes, that's clear from the documentation that you pointed us to.

> I'd rather see lines of 80 chars or shorter than adding pragmas all over the 
> place.

Not me.

> That command of yours  gives 348 lines of output... I attached it.

Thanks. After massaging it with

  sed -e 's/^.*h://' -e 's/>.*/>/' -e 's/h".*/h"/' -e 's/ *# */#/' 
~/pragma.list \
  | sort | uniq | \
  | sed -n -e 's/#include <\(.*\)\.h>/\1.h \1.in.h/p' | sed -e 's/\//_/g' 

I get the list of affected files in gnulib:

arpa_inet.in.h
ctype.in.h
locale.in.h
math.in.h
netinet_in.in.h
regex.h
sched.in.h
signal.in.h
spawn.in.h
stdarg.in.h
stddef.in.h
stdio.in.h
stdlib.in.h
string.in.h
sys_socket.in.h
sys_stat.in.h
sys_time.in.h
sys_wait.in.h
time.in.h
wchar.in.h

Bruno

Reply via email to