This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Why pedantic?
- From: Andreas Schwab <schwab at suse dot de>
- To: <Paul_Koning at Dell dot com>
- Cc: <palves at redhat dot com>, <gdb at sourceware dot org>
- Date: Tue, 25 Aug 2015 15:05:39 +0200
- Subject: Re: Why pedantic?
- Authentication-results: sourceware.org; auth=none
- References: <F7BDA5B1-D300-42DB-968F-C4AEBFA880C2 at dell dot com> <55DC3DE1 dot 5000605 at redhat dot com> <075A8681-8112-4F94-A6D2-765DC677B37C at dell dot com>
<Paul_Koning@Dell.com> writes:
> The problem is that the libiberty build, as is typical, uses header files from the host, and there is no reason to assume that all those headers on every supported host OS are pedantic-safe.
GCC suppresses warnings in system headers by default.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."