aboutsummaryrefslogtreecommitdiff
path: root/libgfortran
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2008-11-23 07:02:22 +0000
committerDanny Smith <dannysmith@gcc.gnu.org>2008-11-23 07:02:22 +0000
commit6a21bcbe16427b9f1ea71e8371ef9c7478df3e7c (patch)
treed78cb01e9fa5e926f8e728c53d1b7129b7a76167 /libgfortran
parent09b96fb8c890e13781eda64fca6c4983cb91e9bc (diff)
downloadgcc-6a21bcbe16427b9f1ea71e8371ef9c7478df3e7c.zip
gcc-6a21bcbe16427b9f1ea71e8371ef9c7478df3e7c.tar.gz
gcc-6a21bcbe16427b9f1ea71e8371ef9c7478df3e7c.tar.bz2
nessage.txt
From-SVN: r142131
Diffstat (limited to 'libgfortran')
-rw-r--r--libgfortran/ChangeLog6
-rw-r--r--libgfortran/libgfortran.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog
index 7a176ee..353b884 100644
--- a/libgfortran/ChangeLog
+++ b/libgfortran/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-22 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * libgfortran.h (__mingw_snprintf): Declare with gnu_printf
+ format attribute.
+
+
2008-11-22 Thomas Koenig <tkoenig@gcc.gnu.org>
PR libfortran/38225
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h
index d1a7df9..aaa46671 100644
--- a/libgfortran/libgfortran.h
+++ b/libgfortran/libgfortran.h
@@ -113,7 +113,7 @@ typedef off_t gfc_offset;
__mingw_snprintf(), because the mingw headers currently don't have one. */
#if HAVE_MINGW_SNPRINTF
extern int __mingw_snprintf (char *, size_t, const char *, ...)
- __attribute__ ((format (printf, 3, 4)));
+ __attribute__ ((format (gnu_printf, 3, 4)));
#undef snprintf
#define snprintf __mingw_snprintf
#endif