URL: <https://savannah.gnu.org/support/?110400>
Summary: autoconf 2.70 no longer supports clang with -Wextra-semi-stmt warning enabled Project: Autoconf Submitted by: haible Submitted on: Sat 12 Dec 2020 02:58:29 AM CET Category: None Priority: 5 - Normal Severity: 3 - Normal Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Operating System: None _______________________________________________________ Details: This worked with autoconf 2.69 generated configure files; with autoconf 2.70 generated configure files the configuration aborts like this: checking how clang -Wextra-semi-stmt reports undeclared, standard C functions... configure: error: in `/testdir1/build-64': configure: error: cannot detect from compiler exit status or warnings See `config.log' for more details This can be reproduced: a) on a Unix system, with CC="clang -Wall -Wextra-semi-stmt", b) on a Windows system, with CC="$HOME/compile clang-cl -Wall". (Apparently 'clang-cl' enables some more warnings on Windows, than 'clang' on Unix. Probably for MSVC compatibility.) _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/support/?110400> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/