[patch #9949] ax_gcc_func_attribute.m4: test fails for the fallthrough attribute with clang
anonymous <[email protected]> Mon, 6 Jul 2020 09:13:50 -0400 (EDT)
| Newsgroups | gmane.comp.sysutils.autoconf.archive-maintainers |
|---|---|
| Message-ID | <[email protected]> |
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: [email protected]
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/