aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.h
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2010-03-12 14:43:55 +0000
committerKai Tietz <ktietz@gcc.gnu.org>2010-03-12 15:43:55 +0100
commitb2ef02df5312169ffd4b0cfce00de2e01a5ff508 (patch)
tree4c823eebd30675c99c57be8a6a26ad168277e417 /libgfortran/libgfortran.h
parent6ac0538d37b0a4d0574bff858693dd34b76e9934 (diff)
downloadgcc-b2ef02df5312169ffd4b0cfce00de2e01a5ff508.zip
gcc-b2ef02df5312169ffd4b0cfce00de2e01a5ff508.tar.gz
gcc-b2ef02df5312169ffd4b0cfce00de2e01a5ff508.tar.bz2
format.c (parse_format_list): Add to ERROR, WARNING, SILENT enumerators NOTIFICATION_ prefix.
2010-03-12 Kai Tietz <kai.tietz@onevision.com> PR/42950 * io/format.c (parse_format_list): Add to ERROR, WARNING, SILENT enumerators NOTIFICATION_ prefix. * runtime/error.c (notification_std): Likewise. * libgfortran.h (notification): Likewise. (GFC_LARGEST_BUF): Check for HAVE_GFC_INTEGER_16. From-SVN: r157407
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r--libgfortran/libgfortran.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h
index 8d1fa4d..6e47a25 100644
--- a/libgfortran/libgfortran.h
+++ b/libgfortran/libgfortran.h
@@ -586,7 +586,7 @@ st_option;
that were given (-std=, -pedantic) we should issue an error, a warning
or nothing. */
typedef enum
-{ SILENT, WARNING, ERROR }
+{ NOTIFICATION_SILENT, NOTIFICATION_WARNING, NOTIFICATION_ERROR }
notification;
/* This is returned by notify_std and several io functions. */
@@ -701,6 +701,8 @@ internal_proto(show_backtrace);
#if defined(HAVE_GFC_REAL_16)
#define GFC_LARGEST_BUF (sizeof (GFC_REAL_16))
+#elif defined(HAVE_GFC_INTEGER_16)
+#define GFC_LARGEST_BUF (sizeof (GFC_INTEGER_LARGEST))
#elif defined(HAVE_GFC_REAL_10)
#define GFC_LARGEST_BUF (sizeof (GFC_REAL_10))
#else