This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB 8.1 build error
- From: Pedro Alves <palves at redhat dot com>
- To: Simon Marchi <simon dot marchi at polymtl dot ca>
- Cc: Paul Koning <paulkoning at comcast dot net>, gdb at sourceware dot org
- Date: Wed, 2 May 2018 11:13:23 +0100
- Subject: Re: GDB 8.1 build error
- References: <214C80CC-1173-41F6-AAA1-39C9D39E28B2@comcast.net> <454707570722fc0220074c0eca015a8f@polymtl.ca> <D029885B-D093-4416-9957-371E3D08495E@comcast.net> <c744d369-801b-c29f-dd3d-961c57ebec74@redhat.com> <e687057d79e17944e9a77912fd22bac0@polymtl.ca> <6171a043-e486-85ec-bdbb-2077a2b5ebd0@redhat.com> <b02d45ab46b5a572724bccbbb5eed7d4@polymtl.ca> <9ed9617b-987e-3225-8518-a43eda0b5548@redhat.com> <13bcba4a8a70bcd977a7e644dd59e4bf@polymtl.ca> <a28595b3-ed78-2a6b-36c9-48965efa87f9@redhat.com>
On 05/02/2018 10:41 AM, Pedro Alves wrote:
> So seems like we could handle this my making --disable-build-warnings
> use "-Wno-error -w" instead of just "-w". But I'd suggest checking with
> clang and/or gcc folks to confirm the difference is intentional too.
A gcc maintainer told me that gcc has behaved like this since forever.
So it could be that the difference in clang may be unintentional.
Thanks,
Pedro Alves