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

                 Summary: fixed width int types without __attribute__()
                 Project: AVR C Runtime Library
            Submitted by: vok
            Submitted on: Sun 30 Oct 2011 21:06:15 NZDT
                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: 1.7.1
           Fixed Release: None

    _______________________________________________________

Details:

The eclipse 3.7.1 code analyser throws heaps of errors because it doesn't
parse __attribute__(), and then doesn't find methods because it thinks they're
different because their arguments don't match.

For example unsigned char would be compatible with uint8_t, except it's
typedef'd as unsigned int when __attribute__() is ignored.

Change typedefs to give a correct result even without __attribute__(), which
is ignored by gcc but does matter elsewhere. Without having tried I'd expect
the same problem with lint.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 30 Oct 2011 21:06:15 NZDT  Name: avr-libc-1.7.1_stdint.diff  Size:
1kB   By: vok

<http://savannah.nongnu.org/bugs/download.php?file_id=24247>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by 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