This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: -Wformat and the like
>>>>> "Stan" == Stan Shebs <stan@codesourcery.com> writes:
Tom> I don't know the answer, but I definitely don't see thousands of such
Tom> warnings on my Fedora 11 box.
Stan> I'm sure it's an OS X thing - the headers have all kinds of BSD-ish
Stan> and Mach-ish arcana that are different from other systems for, uh,
Stan> deeply-thought-out and carefully-documented reasons. :-) One could
Stan> get GDB to a clean build with OS X, but it would be a lot of macro
Stan> gymnastics.
Ah, I missed the --build in the original post.
We can easily filter these warnings by host.
This isn't ideal, but if system headers cause problems then I don't see
what else we can do.
Tom