This is the mail archive of the
mailing list for the glibc project.
Re: Don't use -Wno-error=undef
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: <libc-alpha at sourceware dot org>
- Date: Tue, 18 Aug 2015 17:27:50 +0000
- Subject: Re: Don't use -Wno-error=undef
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 2 dot 10 dot 1508181621220 dot 17603 at digraph dot polyomino dot org dot uk> <20150818172337 dot GO1584 at vapier>
On Tue, 18 Aug 2015, Mike Frysinger wrote:
> On 18 Aug 2015 16:21, Joseph Myers wrote:
> > This patch, relative to a tree with
> > <https://sourceware.org/ml/libc-alpha/2015-08/msg00680.html> and
> > <https://sourceware.org/ml/libc-alpha/2015-08/msg00681.html> (pending
> > review) applied, removes the use of -Wno-error=undef, so that -Wundef
> > warnings become errors.
Are you saying those patches look good as well as the -Wno-error=undef
> > Tested for x86_64 and x86. If people see build or test errors
> > resulting from this on other architectures, they should fix those as
> > usual.
> is it possible to compile all the tests (and not run them) ?
> i can do a few quick sanity checks for some arches ...
"make check" should do that by default when building with a cross compiler
(it will also do tests that only require the build system and not the host
glibc runs on, such as the ABI tests).
Joseph S. Myers