emacs-devel
[Top][All Lists]
Advanced

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

Checking all C warning flags at once during configuration


From: Alex Gramiak
Subject: Checking all C warning flags at once during configuration
Date: Mon, 29 Apr 2019 08:53:58 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

There was recently a discussion about the long configuration step of the
build process, and I noticed that a non-negligible section involved
checking support for specific C warning flags.

Assuming that most/all of the warnings are supported by common modern
compilers, would it make sense to first check _all_ (or, at least the
commonly supported) warning flags simultaneously and then only check
them individually if there was an error?

This way the common behaviour would be sped up a bit, and the case of
unsupported flags would just be an extra AC_LINK_IFELSE slower.



reply via email to

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