avr-libc-commit
[Top][All Lists]
Advanced

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

[avr-libc-commit] [2271] Explain the deprecation of the prog_* typedefs


From: Joerg Wunsch
Subject: [avr-libc-commit] [2271] Explain the deprecation of the prog_* typedefs to users.
Date: Thu, 29 Dec 2011 08:42:26 +0000

Revision: 2271
          http://svn.sv.gnu.org/viewvc/?view=rev&root=avr-libc&revision=2271
Author:   joerg_wunsch
Date:     2011-12-29 08:42:26 +0000 (Thu, 29 Dec 2011)
Log Message:
-----------
Explain the deprecation of the prog_* typedefs to users.

Modified Paths:
--------------
    trunk/avr-libc/NEWS

Modified: trunk/avr-libc/NEWS
===================================================================
--- trunk/avr-libc/NEWS 2011-12-29 08:42:00 UTC (rev 2270)
+++ trunk/avr-libc/NEWS 2011-12-29 08:42:26 UTC (rev 2271)
@@ -35,12 +35,17 @@
 
 * Other changes:
 
-  - Optimized strlen_P, thanks to Jan Waclawek. Rename strlen_P to be 
__strlen_P
-  and add new strlen_P inline function in header file that checks if value is a
-  constant and known at compile time. If not, then the new inline function 
calls
-  __strlen_P as normal.
+  - The old prog_* typedefs are now deprecated, and are only included
+  if requested by the user.  This request is expressed by declaring
+  the macro __PROG_TYPES_COMPAT__, either by a #define directive
+  before including <avr/pgmspace.h>, or by a -D compiler option.
 
+  - Optimized strlen_P, thanks to Jan Waclawek. Rename strlen_P to be
+  __strlen_P and add new strlen_P inline function in header file that
+  checks if value is a constant and known at compile time. If not,
+  then the new inline function calls __strlen_P as normal.
 
+
 *** Changes in avr-libc-1.7.1:
 
 * Bugs fixed:




reply via email to

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