Silence pragma warnings with old GCC

RESOLVED FIXED in 3.29

Status

NSS
Libraries
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: Jan Beich, Unassigned)

Tracking

({regression})

3.27
3.29
regression

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

a year ago
$ ./build.sh
[...]
[495/827] CC obj/lib/certhigh/certhi.ocsp.o
../../lib/certhigh/ocsp.c:2199: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic'
../../lib/certhigh/ocsp.c:2200: warning: unknown option after '#pragma GCC diagnostic' kind
../../lib/certhigh/ocsp.c:2269: warning: expected [error|warning|ignored] after '#pragma GCC diagnostic'

$ cc -v
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]
Comment on attachment 8815743 [details] [diff] [review]
v1

Review of attachment 8815743 [details] [diff] [review]:
-----------------------------------------------------------------

https://hg.mozilla.org/projects/nss/rev/f1256a0a598d5127d1e1e06dd9bfe07105ca6d40
Attachment #8815743 - Flags: review?(martin.thomson)
Attachment #8815743 - Flags: review+
Attachment #8815743 - Flags: checked-in+
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
Target Milestone: --- → 3.29
You need to log in before you can comment on or make changes to this bug.