Re: Building NSS failed on Mac OS X 10.10 with "unknown warning group '-Wvarargs'"

John Jiang <[email protected]>
Newsgroups gmane.comp.mozilla.crypto
Message-ID <CAJbO6CSnGBrJtyfsyPjh86KocVw5hxb1Xr2AYWV-=tsewanjDg@mail.gmail.com>
Just filed a bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1326368

Additionally, I commented the below line for nss/lib/certhigh/ocsp.c,
#pragma GCC diagnostic ignored "-Wvarargs"
and tried to build again. The new building finished.

Thanks!

2016-12-30 10:43 GMT+08:00 Martin Thomson <[email protected]>:

> Hi John,
>
> Could you open a bug?
> https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=Libraries
>
> On Thu, Dec 29, 2016 at 5:19 PM, John Jiang <[email protected]>
> wrote:
> > Hi,
> > I tried to build NSS 3.27.1 [1] on Mac OS X 10.10, but the building ended
> > with the following message:
> > ocsp.c:2200:32: error: unknown warning group '-Wvarargs', ignored
> > [-Werror,-Wunknown-pragmas]
> > #pragma GCC diagnostic ignored "-Wvarargs"
> >                                ^
> > 1 error generated.
> > make[2]: *** [Darwin14.1.0_64_OPT.OBJ/ocsp.o] Error 1
> > make[1]: *** [libs] Error 2
> > make: *** [libs] Error 2
> >
> > How to resolve this issue?
> > Thanks!
> >
> > [1]
> > https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_
> 27_1_RTM/src/nss-3.27.1-with-nspr-4.13.tar.gz
> > --
> > dev-tech-crypto mailing list
> > [email protected]
> > https://lists.mozilla.org/listinfo/dev-tech-crypto
> --
> dev-tech-crypto mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-crypto
>
-- 
dev-tech-crypto mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-crypto
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.