Closed Bug 1321301 Opened 7 years ago Closed 7 years ago

Silence pragma warnings with old GCC

Categories

(NSS :: Libraries, defect)

3.27
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jbeich, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

$ ./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
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.29
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: