[Aptitude-svn-commit] r3907 - in branches/aptitude-0.3/aptitude: . src/vscreen

Daniel Burrows dburrows at costa.debian.org
Wed Aug 17 23:06:34 UTC 2005


Author: dburrows
Date: Wed Aug 17 23:06:31 2005
New Revision: 3907

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/vscreen/transcode.h
Log:
Remove format_arg specifiers.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Wed Aug 17 23:06:31 2005
@@ -2,6 +2,11 @@
 
 	* src/vscreen/transcode.h:
 
+	  Remove format_arg specifiers, they don't work and break
+	  compilation.
+
+	* src/vscreen/transcode.h:
+
 	  Add format_arg specifiers that are presently useless since gcc
 	  doesn't know about wide strings.
 

Modified: branches/aptitude-0.3/aptitude/src/vscreen/transcode.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/vscreen/transcode.h	(original)
+++ branches/aptitude-0.3/aptitude/src/vscreen/transcode.h	Wed Aug 17 23:06:31 2005
@@ -65,9 +65,6 @@
  *  \param errf the error handler, or \b null to use the default
  *  handler (transcode_mbtow_err).
  */
-#ifdef __GNUG__
-__attribute__ ((format_arg(1)))
-#endif
 std::wstring transcode(const std::string &s,
 		       const char *encoding=NULL,
 		       std::wstring (*errf)(int error,
@@ -86,9 +83,6 @@
  *  \param errf the error handler, or \b null to use the default
  *  handler (transcode_mbtow_err).
  */
-#ifdef __GNUG__
-__attribute__ ((format_arg(1)))
-#endif
 std::wstring transcode(const char *s,
 		       const char *encoding=NULL,
 		       std::wstring (*errf)(int error,
@@ -142,9 +136,6 @@
  *  \param errf the error handler, or \b null to use the default
  *  handler (transcode_mbtow_err).
  */
-#ifdef __GNUG__
-__attribute__ ((format_arg(1)))
-#endif
 std::string transcode(const std::wstring &s,
 		      const char *encoding=NULL,
 		      std::string (*errf)(int error,
@@ -163,9 +154,6 @@
  *  \param errf the error handler, or \b null to use the default
  *  handler (transcode_mbtow_err).
  */
-#ifdef __GNUG__
-__attribute__ ((format_arg(1)))
-#endif
 std::string transcode(const wchar_t *s,
 		      const char *encoding=NULL,
 		      std::string (*errf)(int error,



More information about the Aptitude-svn-commit mailing list