diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2016-04-22 10:57:56 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@gcc.gnu.org> | 2016-04-22 10:57:56 +0000 |
commit | e4ccecd5d0a991e22d34a631aff2792a41fff22a (patch) | |
tree | e72a355d115ef6ed970eb201d335c82ed82a474d /gcc/diagnostic.c | |
parent | 9a13d066d74c4842a453297b9d2ad9b07348e623 (diff) | |
download | gcc-e4ccecd5d0a991e22d34a631aff2792a41fff22a.zip gcc-e4ccecd5d0a991e22d34a631aff2792a41fff22a.tar.gz gcc-e4ccecd5d0a991e22d34a631aff2792a41fff22a.tar.bz2 |
[PATCH 1/2] (header usage fix) remove unused system header includes
2016-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
* auto-profile.c: Remove <string.h> include.
* ipa-icf-gimple.c: Remove <list> include.
* diagnostic.c: Remove <new> include.
* genmatch.c: Likewise.
* pretty-print.c: Likewise.
* toplev.c: Likewise
* c/c-objc-common.c: Likewise.
* cp/error.c: Likewise.
* fortran/error.c: Likewise.
From-SVN: r235361
Diffstat (limited to 'gcc/diagnostic.c')
-rw-r--r-- | gcc/diagnostic.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/diagnostic.c b/gcc/diagnostic.c index 6a679cb..8106172 100644 --- a/gcc/diagnostic.c +++ b/gcc/diagnostic.c @@ -40,8 +40,6 @@ along with GCC; see the file COPYING3. If not see # include <sys/ioctl.h> #endif -#include <new> // For placement new. - #define pedantic_warning_kind(DC) \ ((DC)->pedantic_errors ? DK_ERROR : DK_WARNING) #define permissive_error_kind(DC) ((DC)->permissive ? DK_WARNING : DK_ERROR) |