Remove forward enum declaration in utils.h.
These forward declarations are a GNU extension, and they trigger a build warning when the compiler does not support it. gdb/ChangeLog: * utils.h: #include "exceptions.h". (enum errors): Remove partial declaration.
This commit is contained in:
parent
356a523362
commit
af880d85b8
|
@ -1,3 +1,8 @@
|
||||||
|
2013-05-15 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
|
* utils.h: #include "exceptions.h".
|
||||||
|
(enum errors): Remove partial declaration.
|
||||||
|
|
||||||
2013-05-15 Joel Brobecker <brobecker@adacore.com>
|
2013-05-15 Joel Brobecker <brobecker@adacore.com>
|
||||||
|
|
||||||
* gdbarch.sh (core_xfer_shared_libraries_aix): New method.
|
* gdbarch.sh (core_xfer_shared_libraries_aix): New method.
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
#define UTILS_H
|
#define UTILS_H
|
||||||
|
|
||||||
#include "cleanups.h"
|
#include "cleanups.h"
|
||||||
|
#include "exceptions.h"
|
||||||
|
|
||||||
extern void initialize_utils (void);
|
extern void initialize_utils (void);
|
||||||
|
|
||||||
|
@ -278,7 +279,6 @@ extern char *hex_string_custom (LONGEST, int);
|
||||||
extern void fprintf_symbol_filtered (struct ui_file *, const char *,
|
extern void fprintf_symbol_filtered (struct ui_file *, const char *,
|
||||||
enum language, int);
|
enum language, int);
|
||||||
|
|
||||||
enum errors;
|
|
||||||
extern void throw_perror_with_name (enum errors errcode, const char *string)
|
extern void throw_perror_with_name (enum errors errcode, const char *string)
|
||||||
ATTRIBUTE_NORETURN;
|
ATTRIBUTE_NORETURN;
|
||||||
extern void perror_with_name (const char *) ATTRIBUTE_NORETURN;
|
extern void perror_with_name (const char *) ATTRIBUTE_NORETURN;
|
||||||
|
|
Loading…
Reference in New Issue