patchGNU Autoconf Archive - Patches: patch #9949, ax_gcc_func_attribute.m4: test...

 
 

patch #9949: ax_gcc_func_attribute.m4: test fails for the fallthrough attribute with clang

Submitter:  None
Submitted:  Mon 06 Jul 2020 01:13:48 PM UTC
   
 
Priority:  6 Status:  Done
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 19 Feb 2021 11:17:23 AM UTC, comment #1: 

Applied as 083716b47c8a95dda5a58362ccd3e04021c743a5. Thank you very much.

Peter Simons <simons>
Group administrator
Mon 06 Jul 2020 01:13:48 PM UTC, original submission:  

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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by simons (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-02-19 simons StatusNone Done
        Open/ClosedOpen Closed
    2020-07-06 None Attached File- Added 0001-ax_gcc_func_attribute.m4-test-fails-for-the-fallthro.patch, #49441

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code