autoconf-archive-maintainers
[Top][All Lists]
Advanced

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

[patch #9949] ax_gcc_func_attribute.m4: test fails for the fallthrough a


From: anonymous
Subject: [patch #9949] ax_gcc_func_attribute.m4: test fails for the fallthrough attribute with clang
Date: Mon, 6 Jul 2020 09:13:50 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36

URL:
  <https://savannah.gnu.org/patch/?9949>

                 Summary:  ax_gcc_func_attribute.m4: test fails for the
fallthrough  attribute with clang
                 Project: GNU Autoconf Archive
            Submitted by: None
            Submitted on: Mon 06 Jul 2020 01:13:48 PM UTC
                Priority: 6
                  Status: None
             Assigned to: None
        Originator Email: cheyenne.wills@gmail.com
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The test for the fallthrough attribute fails due to other compiler
warnings when using clang.  The following warnings are generated:

   warning: no case matching constant switch condition '0'
   warning: control reaches end of non-void function [-Wreturn-type]

Because of these additional warnings, the test always results in a
failure for the fallthrough attribute.

Attached is the patch that I submitted as a pull request on github (
https://github.com/autoconf-archive/autoconf-archive/pull/219 )

Thank you



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 06 Jul 2020 01:13:48 PM UTC  Name:
0001-ax_gcc_func_attribute.m4-test-fails-for-the-fallthro.patch  Size: 2KiB  
By: None
patch
<http://savannah.gnu.org/patch/download.php?file_id=49441>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9949>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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