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

                 Summary: stdint.h: signed types need explicit "signed"
                 Project: AVR C Runtime Library
            Submitted by: sternst
            Submitted on: Fr 09 Dez 2011 00:44:52 CET
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Header files
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: Any
           Fixed Release: None

    _______________________________________________________

Details:

The signed types in the header are all defined without an explicit "signed".
This can result in annoying behavior if used in a bit-field. The signedness of
a plain "int" in a bit-field is implementation defined (in gcc controlled by
command line switches). But a (e.g.) int16_t should be always signed, even in
a bit-field, therefore an explicit "signed" is necessary.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to