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

Submitted by:  None
Submitted on:  Mon 06 Jul 2020 01:13:48 PM UTC  
 
Priority:  6 Status:  None
Assigned to:  None Originator Email:  -email is unavailable-
Open/Closed:  Open

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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 None (Submitted the item)
  •  

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    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.5