[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-commit] [2261] bug #35020: stdint.h: signed types need explici
From: |
Joerg Wunsch |
Subject: |
[avr-libc-commit] [2261] bug #35020: stdint.h: signed types need explicit "signed" |
Date: |
Fri, 09 Dec 2011 07:05:47 +0000 |
Revision: 2261
http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2261
Author: joerg_wunsch
Date: 2011-12-09 07:05:46 +0000 (Fri, 09 Dec 2011)
Log Message:
-----------
bug #35020: stdint.h: signed types need explicit "signed"
* include/stdint.h: explicitly declare int*_t types as signed
Ticket Links:
------------
http://savannah.gnu.org/bugs/?35020
Modified Paths:
--------------
trunk/avr-libc/ChangeLog
trunk/avr-libc/NEWS
trunk/avr-libc/include/stdint.h
Modified: trunk/avr-libc/ChangeLog
===================================================================
--- trunk/avr-libc/ChangeLog 2011-11-02 16:53:30 UTC (rev 2260)
+++ trunk/avr-libc/ChangeLog 2011-12-09 07:05:46 UTC (rev 2261)
@@ -1,3 +1,8 @@
+2011-12-09 Joerg Wunsch <address@hidden>
+
+ bug #35020: stdint.h: signed types need explicit "signed"
+ * include/stdint.h: explicitly declare int*_t types as signed
+
2011-11-02 Eric B. Weddington <address@hidden>
* include/avr/iox64a1.h (enum TC_EVACT_enum): Fix typo in enum list.
Modified: trunk/avr-libc/NEWS
===================================================================
--- trunk/avr-libc/NEWS 2011-11-02 16:53:30 UTC (rev 2260)
+++ trunk/avr-libc/NEWS 2011-12-09 07:05:46 UTC (rev 2261)
@@ -17,6 +17,7 @@
[#33858] in avr/power.h, clock_prescale_set() not defined for mega328
[#33920] ICR1 incorrectly defined for tiny167
[#34047] missing math.h include in delay.h
+ [#35020] stdint.h: signed types need explicit "signed"
[no-id] New names for CLKSTA/CLKSEL0/1 for AT90USB82/162
system when power_all_disable() is used
[no-id] util/delay.h would not compile with -ffreestanding
Modified: trunk/avr-libc/include/stdint.h
===================================================================
--- trunk/avr-libc/include/stdint.h 2011-11-02 16:53:30 UTC (rev 2260)
+++ trunk/avr-libc/include/stdint.h 2011-12-09 07:05:46 UTC (rev 2261)
@@ -118,14 +118,14 @@
/* actual implementation goes here */
-typedef int int8_t __attribute__((__mode__(__QI__)));
+typedef signed int int8_t __attribute__((__mode__(__QI__)));
typedef unsigned int uint8_t __attribute__((__mode__(__QI__)));
-typedef int int16_t __attribute__ ((__mode__ (__HI__)));
+typedef signed int int16_t __attribute__ ((__mode__ (__HI__)));
typedef unsigned int uint16_t __attribute__ ((__mode__ (__HI__)));
-typedef int int32_t __attribute__ ((__mode__ (__SI__)));
+typedef signed int int32_t __attribute__ ((__mode__ (__SI__)));
typedef unsigned int uint32_t __attribute__ ((__mode__ (__SI__)));
#if !__USING_MINT8
-typedef int int64_t __attribute__((__mode__(__DI__)));
+typedef signed int int64_t __attribute__((__mode__(__DI__)));
typedef unsigned int uint64_t __attribute__((__mode__(__DI__)));
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-commit] [2261] bug #35020: stdint.h: signed types need explicit "signed",
Joerg Wunsch <=