[PATCH] Fix building gdb with gcc-4.x
Bernd Edlinger
bernd.edlinger@hotmail.de
Mon Jan 4 20:57:30 GMT 2021
Hi,
with Luis' commit of today the trunk is no longer able to
be compiled with gcc-4.x.
The problem is std::is_trivially_default_constructible is
not defined before gcc-5 although the compiler supports C++11
I am not sure about what's the best approach for conditionally
enabling the code, especially for compilers other than g++.
This fixes the build for me.
Is it OK for trunk?
Thanks
Bernd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-building-gdb-with-gcc-4.x.patch
Type: text/x-patch
Size: 1632 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/gdb-patches/attachments/20210104/34fe5bab/attachment.bin>
More information about the Gdb-patches
mailing list