pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/46496: lang/scm
The following reply was made to PR pkg/46496; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/46496: lang/scm
Date: Thu, 31 May 2012 22:02:58 +0000
On Thu, May 31, 2012 at 08:05:03AM +0000, Aleksey Cheusov wrote:
> > I have been doing my test builds with -Wall -Wno-error (this too
> > occasionally breaks autoconf scripts)
>
> How does build fail?
Tests that look for whether a function is available by including some
headers and calling it... and only running gcc -c, not linking, so
without -Werror any function will be "successfully" detected.
> > =A0If you can think of a way to inject -Wall -Werror reliably into real
> > =A0compiles and not autoconf tests, I'm all ears.
>
> We could pass -Werror=implicit-function-declaration to gcc in gcc
> wrapper for "build" target.
That syntax isn't supported by gcc 4.1.
Also I don't think the wrappers know how to vary their behavior
depending on the target.
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index