bugAVR C Runtime Library - Bugs: bug #41689, static_assert

 
 

bug #41689: static_assert

Submitted by:  azudem <azudem>
Submitted on:  Tue 25 Feb 2014 03:52:43 PM UTC  
 
Category: Feature RequestSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePercent Complete: 0%
Assigned to: NoneOpen/Closed: Open
Release: AnyFixed Release: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Tue 25 Feb 2014 03:52:43 PM UTC, original submission:

Add

#if defined __USE_ISOC11 && !defined __cplusplus
# undef static_assert
# define static_assert _Static_assert
#endif

to <assert.h>. Static assertions supported by GCC > 4.6 and very useful (especially for MCU coding). Default name '_Static_assert' is ugly.

azudem <azudem>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by azudem (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup