This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Why pedantic?


> On Aug 25, 2015, at 9:05 AM, Andreas Schwab <schwab@suse.de> wrote:
> 
> <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.

For cross-builds?  Not in the ones we do.  Is there some command line switch that needs to be passed to tell gcc that a particular include directory is for "system headers" and to apply that rule?  

	paul


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]