diff options
| author | Pedro Alves <palves@redhat.com> | 2017-04-25 10:58:57 +0100 | 
|---|---|---|
| committer | Pedro Alves <palves@redhat.com> | 2017-04-25 10:58:57 +0100 | 
| commit | debed3db4887483552103da36d180967ef0dca5f (patch) | |
| tree | dab7562353f25938ba0a48f6cb82aa8195fd5279 /gdb/python/python.h | |
| parent | d28b6364b1fba1c0270c001f0d82a69e351e1922 (diff) | |
| download | binutils-debed3db4887483552103da36d180967ef0dca5f.zip binutils-debed3db4887483552103da36d180967ef0dca5f.tar.gz binutils-debed3db4887483552103da36d180967ef0dca5f.tar.bz2  | |
Fix build on gcc < 5 (std::is_trivially_copyable missing)
Ref: https://sourceware.org/ml/gdb-patches/2017-04/msg00660.html
Simply skip the poisoning on older compilers.
gdb/ChangeLog:
2017-04-25  Pedro Alves  <palves@redhat.com>
	* common/poison.h [!HAVE_IS_TRIVIALLY_COPYABLE] (IsRelocatable)
	(BothAreRelocatable, memcopy, memmove): Don't define.
	* common/traits.h (__has_feature, HAVE_IS_TRIVIALLY_COPYABLE): New
	macros.
Diffstat (limited to 'gdb/python/python.h')
0 files changed, 0 insertions, 0 deletions
