[dpkg] 128/187: dselect: Include missing <new> for new and delete operator declarations

Reiner Herrmann reiner at reiner-h.de
Sun Nov 6 12:46:33 UTC 2016


This is an automated email from the git hooks/post-receive script.

deki-guest pushed a commit to branch master
in repository dpkg.

commit 7ec59824455d8e7da029ad8bf53821e580cdac56
Author: Guillem Jover <guillem at debian.org>
Date:   Mon Sep 12 01:20:44 2016 +0200

    dselect: Include missing <new> for new and delete operator declarations
---
 debian/changelog       | 1 +
 dselect/cxx-support.cc | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index fd86bf7..bff4328 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -45,6 +45,7 @@ dpkg (1.18.11) UNRELEASED; urgency=medium
   * Implement local abi::__cxa_pure_virtual. When using g++ if we provide our
     version of this function we can avoid the dependency on either libstdc++
     or libsup++.
+  * Include missing <new> for new and delete operator declarations.
   * Architecture support:
     - Add support for AIX operating system.
   * Portability:
diff --git a/dselect/cxx-support.cc b/dselect/cxx-support.cc
index 57c9d5c..1339b7a 100644
--- a/dselect/cxx-support.cc
+++ b/dselect/cxx-support.cc
@@ -30,6 +30,8 @@
 #include <cxxabi.h>
 #endif
 
+#include <new>
+
 #include <dpkg/dpkg.h>
 
 extern void *

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list