diff options
author | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-12 14:43:55 +0000 |
---|---|---|
committer | ktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-03-12 14:43:55 +0000 |
commit | c08106d15df24e04d7f14da10f070500e359f1bc (patch) | |
tree | 4c823eebd30675c99c57be8a6a26ad168277e417 /libgfortran/libgfortran.h | |
parent | d241c92951950c144bfb6392afd06a8aa71d9f1a (diff) | |
download | gcc-c08106d15df24e04d7f14da10f070500e359f1bc.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157407 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r-- | libgfortran/libgfortran.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h index 8d1fa4dfec1..6e47a25b22c 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 |