avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] [bug #41689] static_assert


From: azudem
Subject: [avr-libc-dev] [bug #41689] static_assert
Date: Tue, 25 Feb 2014 15:52:45 +0000
User-agent: Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?41689>

                 Summary: static_assert
                 Project: AVR C Runtime Library
            Submitted by: azudem
            Submitted on: Tue 25 Feb 2014 15:52:43 GMT
                Category: Feature Request
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
        Percent Complete: 0%
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: Any
           Fixed Release: None

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?41689>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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