[all pushed] Re: [PATCH 00/36] Support building GDB as a C++ program

Pedro Alves
2015-03-07T17:58:53Z

On 03/07/2015 04:01 PM, Pedro Alves wrote:

> The remaining one is:
>
> > [PATCH 20/36] gdbserver/tracepoint: Add cast sockaddr_un/sockaddr cast
>
> I'll post an alternative patch as soon as I have a chance.

I've pushed the alternative, more correct fix now:

[Fix struct sockaddr/sockaddr_in/sockaddr_un strict aliasing violations]
https://sourceware.org/ml/gdb-patches/2015-03/msg00193.html

At this point, an '--enable-build-with-cxx --enable-targets=all'
configure builds (and works) on x86_64 Fedora 20 (g++ 4.8.3).

At this point, I'd like to invite others to try out --enable-build-with-cxx
on others hosts, and send in fixes for any errors that stumbles on.

To recap, there are a ton of warnings still. Those will be subject
of another patch series, based on:

https://github.com/palves/gdb/commits/palves/cxx-conversion-attempt-part-2-no-fpermissive

Thanks,
Pedro Alves