[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-commit] [2290] Fix for bug #35398: assert doesn't work unless
From: |
Dmitry Xmelkov |
Subject: |
[avr-libc-commit] [2290] Fix for bug #35398: assert doesn't work unless stdlib. h is also included |
Date: |
Sat, 04 Feb 2012 02:08:48 +0000 |
Revision: 2290
http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2290
Author: dmix
Date: 2012-02-04 02:08:47 +0000 (Sat, 04 Feb 2012)
Log Message:
-----------
Fix for bug #35398: assert doesn't work unless stdlib.h is also included
* include/assert.h: Include <stdlib.h>.
* NEWS: Add to fixed bug list.
Ticket Links:
------------
http://savannah.gnu.org/bugs/?35398
Modified Paths:
--------------
trunk/avr-libc/ChangeLog
trunk/avr-libc/NEWS
trunk/avr-libc/include/assert.h
Modified: trunk/avr-libc/ChangeLog
===================================================================
--- trunk/avr-libc/ChangeLog 2012-01-28 01:31:48 UTC (rev 2289)
+++ trunk/avr-libc/ChangeLog 2012-02-04 02:08:47 UTC (rev 2290)
@@ -1,3 +1,10 @@
+2012-02-04 Dmitry Xmelkov <address@hidden>
+
+ Fix for bug #35398: assert doesn't work unless stdlib.h is also
+ included. Thanks to Britton Kerin.
+ * include/assert.h: Include <stdlib.h>.
+ * NEWS: Add to fixed bug list.
+
2012-01-28 Dmitry Xmelkov <address@hidden>
* tests/simulate/regression/bug-35366-1-printf_flt.c: New file.
Modified: trunk/avr-libc/NEWS
===================================================================
--- trunk/avr-libc/NEWS 2012-01-28 01:31:48 UTC (rev 2289)
+++ trunk/avr-libc/NEWS 2012-02-04 02:08:47 UTC (rev 2290)
@@ -4,6 +4,7 @@
[#35197] sleep.h _BV defined as __BV in AT90S8515 section
[#35226] Online-documentation broken - [...]
+ [#35398] assert doesn't work unless stdlib.h is also included
* New devices supported:
Modified: trunk/avr-libc/include/assert.h
===================================================================
--- trunk/avr-libc/include/assert.h 2012-01-28 01:31:48 UTC (rev 2289)
+++ trunk/avr-libc/include/assert.h 2012-02-04 02:08:47 UTC (rev 2290)
@@ -62,6 +62,8 @@
#undef assert
+#include <stdlib.h>
+
#if defined(__DOXYGEN__)
/**
* \def assert
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-commit] [2290] Fix for bug #35398: assert doesn't work unless stdlib. h is also included,
Dmitry Xmelkov <=