Closed Bug 1218254 Opened 9 years ago Closed 9 years ago

bug 1216318 cause build break by C4819 w/ --enable-warnings-as-errors

Categories

(NSS :: Libraries, defect)

3.21
All
Windows
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: m_kato, Assigned: mt)

References

Details

Attachments

(2 files)

+++ This bug was initially created as a clone of Bug #1216318 +++ intel-gcm.h has non-ASCII character, so when I use --enable-warning-as-error, I cannot build m-c tree. 1:00.60 c:\development\hg.mozilla.org\mozilla-inbound\security\nss\lib\freebl\i ntel-gcm.h: error C2220: warning treated as error - no 'object' file generated 1:00.60 c:\development\hg.mozilla.org\mozilla-inbound\security\nss\lib\freebl\i ntel-gcm.h: warning C4819: The file contains a character that cannot be represen ted in the current code page (932). Save the file in Unicode format to prevent d ata loss
Martin, could you handle this? I think remove non-ASCII character from intel-gcm.h or add -wd4819 to CL.exe parameter list
Flags: needinfo?(martin.thomson)
Attached patch bug1218254.patchSplinter Review
Does this work for you? I found 5 non-ASCII characters, one of which was an en-dash. wc -m and wc -c now report the file as being the same size.
Flags: needinfo?(martin.thomson)
Attachment #8678674 - Flags: review?(m_kato)
Assignee: nobody → martin.thomson
Comment on attachment 8678674 [details] [diff] [review] bug1218254.patch Review of attachment 8678674 [details] [diff] [review]: ----------------------------------------------------------------- Works fine. Thanks.
Attachment #8678674 - Flags: review?(m_kato) → review+
https://hg.mozilla.org/projects/nss/rev/a2d5c6876ade This probably won't land in m-c until we release NSS properly. That might be later this week.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.21
Comment on attachment 8678674 [details] [diff] [review] bug1218254.patch Review of attachment 8678674 [details] [diff] [review]: ----------------------------------------------------------------- ::: lib/freebl/intel-gcm.h @@ +6,5 @@ > /******************************************************************************/ > /* Copyright(c) 2013, Intel Corp. */ > /******************************************************************************/ > /* Reference: */ > +/* [1] Shay Gueron, Michael E. Kounavis: Intel(C) Carry-Less Multiplication */ (C) is not the same as ®. The former is "copyright", the latter is "registered trademark".
Attachment #8678674 - Flags: review-
Oops, a consequence of having a very bad font at small size. I should have been more careful.
Attachment #8679205 - Flags: review?(mh+mozilla)
:mt This bug blocks to develop Firefox/Gecko on m-c even with --disable-warning-as-errors. Cannot merge NSS ASAP? The deadline of 44 is this weekend. So, the merge date is too late for us.
Flags: needinfo?(martin.thomson)
Attachment #8679205 - Flags: review?(mh+mozilla) → review+
https://hg.mozilla.org/projects/nss/rev/87138be0ddf2 I will try to ensure that nss is updated before the uplift.
Flags: needinfo?(martin.thomson) → needinfo?(kaie)
It seems quite likely that the NSS release will not make this deadline. However, we will request uplift of 3.21 to aurora.
The Firefox 44 branch has received NSS 3.21, so apparently everything has been done as requested? clearing needinfo.
Flags: needinfo?(kaie)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: