bug-autoconf
[Top][All Lists]
Advanced

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

[sr #110400] autoconf 2.70 no longer supports clang with -Wextra-semi-st


From: Bruno Haible
Subject: [sr #110400] autoconf 2.70 no longer supports clang with -Wextra-semi-stmt warning enabled
Date: Fri, 11 Dec 2020 20:58:30 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0

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/




reply via email to

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