bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

manywarnings.m4 optimization request


From: Tim Ruehsen
Subject: manywarnings.m4 optimization request
Date: Fri, 28 Oct 2016 16:05:22 +0200
User-agent: KMail/5.2.3 (Linux/4.7.0-1-amd64; KDE/5.27.0; x86_64; ; )

Hi,

during some GNU internal discussion I was asked to post my proposal / request 
here.

"I use manywarnings.m4 in my projects which take ~9s here (~25% of the whole 
./configure run).
One gcc invocation per (possible) warning options sums up a lot.

  gcc -Q --help=warning|awk '{ if ($2 == "[disabled]") print $1 }'
gives a complete list of available warning options which we can use without 
checking each single option.
This also takes automatic advantage of new gcc warnings."


I took a look at the source but feel somewhat incompetent to provide a patch 
(m4 and shell is just not my competence). It seems to be a pretty low-hanging 
fruit for an expert, though.

I really would enjoy a faster manywarnings.m4 !

Regards, Tim
 

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]