[Top][All Lists]

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

[avr-libc-dev] [bug #34695] fixed width int types without __attribute__(

From: Volker Kuhlmann
Subject: [avr-libc-dev] [bug #34695] fixed width int types without __attribute__()
Date: Sun, 30 Oct 2011 08:06:16 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/4.6; Linux) KHTML/4.6.0 (like Gecko) SUSE


                 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



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



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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